车架号撤回可以重复使用

This commit is contained in:
zhangjun 2018-12-14 14:02:36 +08:00
parent 4e69c7d1e0
commit 6bb2554056

View File

@ -229,7 +229,7 @@ public class BusinessApproveManager {
public String checkCarNumber(JBOTransaction tx) throws Exception{
BizObjectManager lecManger = JBOFactory.getBizObjectManager(LB_EQUIPMENT_CAR.CLASS_NAME, tx);
BizObject lec = lecManger.createQuery("select O.id from O left join jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci on O.contract_id=lci.id "
+ " where O.FRAME_NUMBER=:prameNumber and project_id<>:projectid and lci.contract_status BETWEEN 21 AND 105")
+ " where O.FRAME_NUMBER=:prameNumber and project_id<>:projectid and lci.contract_status BETWEEN 21 AND 103")
.setParameter("prameNumber", plate_number).setParameter("projectid", projectId).getSingleResult(false);
if(lec !=null){
/*if(lec.getAttribute("ID").getString().equals(phaseNo)){