修改查询条件

This commit is contained in:
tangfutang 2020-09-17 19:06:51 +08:00
parent f3e9a97b25
commit 7af6f84bca

View File

@ -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{