|
@@ -835,10 +835,10 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
|
compId = AuthSecurityUtils.getStaffById(AuthSecurityUtils.getCurrentUserId()).getCompId();
|
|
|
}
|
|
|
List<ContractManagementInfo> temp = new ArrayList();
|
|
|
-// List<ContractManagementInfo> listRedis = cacheComponent.getObjList(Const.ADMIN_CONTRACTINFO+compId+flag,ContractManagementInfo.class);
|
|
|
-// if(listRedis != null && listRedis.size() > 0 ){
|
|
|
-// return listRedis;
|
|
|
-// }
|
|
|
+ List<ContractManagementInfo> listRedis = cacheComponent.getObjList(Const.ADMIN_CONTRACTINFO+compId+flag,ContractManagementInfo.class);
|
|
|
+ if(listRedis != null && listRedis.size() > 0 ){
|
|
|
+ return listRedis;
|
|
|
+ }
|
|
|
//查所有合同编号
|
|
|
if (flag == null) {
|
|
|
List<ContractManagementInfo> contractManagementInfoList = contractManagementInfoService.selectList(new EntityWrapper<ContractManagementInfo>()
|