生成合同
This commit is contained in:
parent
2feccb86c5
commit
00ef7b9655
@ -78,4 +78,14 @@ public class PsTaskQueryBo {
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 客户姓名
|
||||
*/
|
||||
private String customName;
|
||||
|
||||
/**
|
||||
* 客户电话
|
||||
*/
|
||||
private String customMobile;
|
||||
|
||||
}
|
||||
|
@ -411,7 +411,8 @@ public class PsTaskServiceImpl implements IPsTaskService {
|
||||
lqw.like(StringUtils.isNotBlank(bo.getCompanyAdress()), "com.company_adress", bo.getCompanyAdress());//公司地址
|
||||
lqw.like(StringUtils.isNotBlank(bo.getMobile()), "com.legal_person_phone", bo.getMobile());//法人手机号
|
||||
lqw.like(StringUtils.isNotBlank(bo.getIdNo()), "com.legal_person_idcard", bo.getIdNo());//法人身份证
|
||||
lqw.like(StringUtils.isNotBlank(bo.getName()), "com.legal_person_name", bo.getName());//法人姓名
|
||||
lqw.like(StringUtils.isNotBlank(bo.getCustomName()), "cus.custom_name", bo.getCustomName());//客户姓名
|
||||
lqw.like(StringUtils.isNotBlank(bo.getCustomMobile()), "cus.custom_mobile", bo.getCustomMobile());//客户电话
|
||||
//服务项目编码集合
|
||||
lqw.exists(CollectionUtils.isNotEmpty(bo.getServiceProjectCode()), "select 1 from ps_contract_business detail " +
|
||||
"where detail.contract_code = con.contract_code and detail.business_type in ("+StringUtils.join(bo.getServiceProjectCode(),",")+")");//服务项目编码集合
|
||||
|
Loading…
Reference in New Issue
Block a user