修改查询条件
This commit is contained in:
parent
f3e9a97b25
commit
7af6f84bca
@ -466,7 +466,7 @@ public class ContractMakeServiceImpl implements ContractMakeService{
|
||||
//校验发起电子签约条件
|
||||
public String checkSign(Map<String, String> flowParms,String signType,JBOTransaction tx) throws Exception{
|
||||
BizObjectManager ldclBom = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME,tx);
|
||||
BizObject ldclBo = ldclBom.createQuery("project_id='"+flowParms.get("ProjectId")+"' and file_flag='yes' and sendprocess='1'").getSingleResult(false);
|
||||
BizObject ldclBo = ldclBom.createQuery("project_id='"+flowParms.get("ProjectId")+"' and file_flag='yes'").getSingleResult(false);
|
||||
if(ldclBo==null){
|
||||
return "NOTCONTRACT";
|
||||
}else{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user