增加时间校验
parent
6709e3dd2a
commit
b7133bce8e
|
|
@ -49,7 +49,11 @@ public class CorpInfoQueryExe {
|
|||
* @return
|
||||
*/
|
||||
public PageResponse<CorpInfoCO> execute(CorpInfoPageQry corpInfoPageQry) {
|
||||
|
||||
Map<String, Object> parmas = PageQueryHelper.toHashMap(corpInfoPageQry);
|
||||
if(corpInfoPageQry.getLeCreateTime() != null){
|
||||
parmas.put("leCreateTime", corpInfoPageQry.getLeCreateTime().plusDays(1));
|
||||
}
|
||||
PageResponse<CorpInfoDO> pageResponse = corpInfoRepository.listPage(parmas);
|
||||
List<CorpInfoCO> examCenterCOS = corpInfoCoConvertor.converDOsToCOs(pageResponse.getData());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue