生成合同
This commit is contained in:
parent
4c169d8588
commit
0f74f3ed2c
@ -81,10 +81,10 @@ public enum TaskStatusEnum {
|
||||
*/
|
||||
public static Boolean canFinish(String taskStatus){
|
||||
//作废和完成的不能点
|
||||
if(StringUtils.equals(taskStatus,CANCEL.getCode()) || StringUtils.equals(taskStatus,FINISH.getCode())){
|
||||
return false;
|
||||
if(StringUtils.equals(taskStatus,ING.getCode())){
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* 判断能否改派
|
||||
|
@ -216,7 +216,8 @@ public class PsCustomInfoServiceImpl implements IPsCustomInfoService {
|
||||
qw.eq(StringUtils.isNotBlank(bo.getCustomIntroducerName()), "psinfo.custom_introducer", bo.getCustomIntroducerName());//介绍人姓名
|
||||
//公司名称
|
||||
qw.exists(StringUtils.isNotBlank(bo.getCompanyName()), "select 1 from ps_company_info com where info.id = com.custom_id and com.company_name like '%"+bo.getCompanyName()+"%'");
|
||||
qw.exists(bo.getHaveContract() != null && bo.getHaveContract() == 1,"SELECT 1 FROM ps_contract_info psci WHERE psci.custom_id = info.id and psci.contract_status != '10' and psci.is_cancel != '03')");
|
||||
qw.exists(bo.getHaveContract() != null && bo.getHaveContract() == 1,"SELECT 1 FROM ps_contract_info psci WHERE psci.custom_id = info.id and psci.contract_status != '10' and psci.is_cancel != '03'");
|
||||
qw.notExists(bo.getHaveContract() != null && bo.getHaveContract() == 0,"SELECT 1 FROM ps_contract_info psci WHERE psci.custom_id = info.id and psci.contract_status != '10' and psci.is_cancel != '03'");
|
||||
qw.orderByDesc("info.create_time");//创建时间排序
|
||||
return qw;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user