|
@@ -2718,9 +2718,8 @@ public class ZysqbpController extends BaseController {
|
|
* @param id
|
|
* @param id
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public BusinessContext queryCjhsList(ZysqbpEntity zysqbp,Pageable pageable, Date ksq,
|
|
|
|
- Date ksz, Date jsq, Date jsz, String zygk,
|
|
|
|
- String cm) {
|
|
|
|
|
|
+ public BusinessContext queryCjhsList(ZysqbpEntity zysqbp,Pageable pageable,
|
|
|
|
+ Date ksq,Date ksz, Date jsq, Date jsz, String zygk,String cm) {
|
|
BusinessContext bc = new BusinessContext();
|
|
BusinessContext bc = new BusinessContext();
|
|
List<PredicateModel> filterList = new ArrayList<PredicateModel>();
|
|
List<PredicateModel> filterList = new ArrayList<PredicateModel>();
|
|
ksq = Utils.getDateFirstTime(ksq);
|
|
ksq = Utils.getDateFirstTime(ksq);
|
|
@@ -2734,10 +2733,8 @@ public class ZysqbpController extends BaseController {
|
|
addNotEmptyModel(filterList, "gkzwmc", zygk, Operator.LIKE);
|
|
addNotEmptyModel(filterList, "gkzwmc", zygk, Operator.LIKE);
|
|
addNotEmptyModel(filterList, "zwcm", cm, Operator.LIKE);
|
|
addNotEmptyModel(filterList, "zwcm", cm, Operator.LIKE);
|
|
// 权限过滤
|
|
// 权限过滤
|
|
- Specification<DtywCbsbEntity> spec = SpecificationCreater
|
|
|
|
- .searchByPredicateModels(filterList);
|
|
|
|
- SinglePageRequest page = new SinglePageRequest(pageable.getPageSize(),
|
|
|
|
- pageable.getPageNumber(), "desc", "kszysj");
|
|
|
|
|
|
+ Specification<DtywCbsbEntity> spec = SpecificationCreater.searchByPredicateModels(filterList);
|
|
|
|
+ SinglePageRequest page = new SinglePageRequest(pageable.getPageNumber(),pageable.getPageSize(), "desc", "kszysj");
|
|
Page<DtywCbsbEntity> cbsbPageList = dtywCbsbService.findAll(spec, page);
|
|
Page<DtywCbsbEntity> cbsbPageList = dtywCbsbService.findAll(spec, page);
|
|
List<CjhsEntity> cjhsList = new ArrayList<CjhsEntity>();
|
|
List<CjhsEntity> cjhsList = new ArrayList<CjhsEntity>();
|
|
List<CjhsDbEntity> cjhsDbList = cjhsDbService.findByGksbbh(zysqbp
|
|
List<CjhsDbEntity> cjhsDbList = cjhsDbService.findByGksbbh(zysqbp
|