|
@@ -11,9 +11,9 @@ import com.jtgh.yjpt.entity.jyr.JyrEntity;
|
|
|
|
|
|
public interface GgViewDao extends MyRepository<GgViewEntity, Long> {
|
|
|
|
|
|
- @Query("from GgViewEntity role where ggid=?1 and qymc=?2 and sfkj<>'Y'")
|
|
|
+ @Query("from GgViewEntity role where ggid=?1 and qymc=?2 and sfkj<>'Y' and recordStatus<>9")
|
|
|
public List<GgViewEntity> findByGgidAndQymc(GgEntity ggid, JyrEntity qymc);
|
|
|
|
|
|
- @Query("from GgViewEntity role where ggid=?1 and qymc=?2 and sfkj='Y'")
|
|
|
+ @Query("from GgViewEntity role where ggid=?1 and qymc=?2 and sfkj='Y' and recordStatus<>9 ")
|
|
|
public List<GgViewEntity> findKjByGgidAndQymc(GgEntity ggid, JyrEntity qymc);
|
|
|
}
|