非托管
This commit is contained in:
parent
3c0a67b9fb
commit
72aa2164a2
@ -593,8 +593,8 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
|
||||
qw.exists(bo.getServiceType() !=null && bo.getServiceType() == 1, "select 1 from ps_contract_business bus " +
|
||||
"where bus.contract_code = info.contract_code and bus.business_type = 2");
|
||||
//非托管服务类型编码集合
|
||||
qw.exists(bo.getServiceType() !=null && bo.getServiceType() == 2, "select 1 from ps_contract_business bus " +
|
||||
"where bus.contract_code = info.contract_code and bus.business_type != 2");
|
||||
qw.notExists(bo.getServiceType() !=null && bo.getServiceType() == 2, "select 1 from ps_contract_business bus " +
|
||||
"where bus.contract_code = info.contract_code and bus.business_type == 2");
|
||||
}
|
||||
//服务项目编码集合
|
||||
qw.exists(CollectionUtils.isNotEmpty(bo.getServiceProjects()), "select 1 from ps_contract_business detail " +
|
||||
|
@ -375,8 +375,8 @@ public class PsCustomInfoServiceImpl implements IPsCustomInfoService {
|
||||
qw.exists(queryBo.getServiceType() !=null && queryBo.getServiceType() == 1, "select 1 from ps_contract_business bus " +
|
||||
"where bus.contract_code = con.contract_code and bus.business_type = 2");
|
||||
//非托管服务类型编码集合
|
||||
qw.exists(queryBo.getServiceType() !=null && queryBo.getServiceType() == 2, "select 1 from ps_contract_business bus " +
|
||||
"where bus.contract_code = con.contract_code and bus.business_type != 2");
|
||||
qw.notExists(queryBo.getServiceType() !=null && queryBo.getServiceType() == 2, "select 1 from ps_contract_business bus " +
|
||||
"where bus.contract_code = con.contract_code and bus.business_type = 2");
|
||||
//服务项目编码集合
|
||||
qw.exists(CollectionUtils.isNotEmpty(queryBo.getServiceProjects()), "select 1 from ps_contract_business detail " +
|
||||
"where detail.contract_code = con.contract_code and detail.business_type in ("+StringUtils.join(queryBo.getServiceProjects(),",")+")");//服务项目编码集合
|
||||
|
Loading…
Reference in New Issue
Block a user