微信提交提前结清校验
This commit is contained in:
parent
9b71a7ced0
commit
d958823b09
@ -185,7 +185,7 @@ public class WechatCustomerInfoChange {
|
||||
}
|
||||
}else if("advance".equals(type)){
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME, tx);
|
||||
BizObject was = wasMange.createQuery(" id=:id and status='处理中' and (flowStatus <> '已提交' or flowStatus is null) ").setParameter("id", id).getSingleResult(true);
|
||||
BizObject was = wasMange.createQuery(" id=:id and (status='处理中' or status='已受理') and (flowStatus <> '已提交' or flowStatus is null) ").setParameter("id", id).getSingleResult(true);
|
||||
if(was == null ){
|
||||
return "该申请在流程中或者已申请不能进行否决!";
|
||||
}else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user