|
|
@@ -15,6 +15,7 @@ import com.goafanti.common.dao.*;
|
|
|
import com.goafanti.common.model.*;
|
|
|
import com.goafanti.order.bo.NewOrderChangeBo;
|
|
|
import com.goafanti.order.bo.TOrderTaskBo;
|
|
|
+import com.goafanti.order.enums.OrderChangeProcess;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -272,10 +273,10 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
for (Integer i : clist) {
|
|
|
NewOrderChangeBo changeBo = newOrderChangeMapper.selectById(i);
|
|
|
int x=1;
|
|
|
- if (changeBo.getProcessState()==2){
|
|
|
+ if (changeBo.getProcessState()== OrderChangeProcess.JSY.getCode()){
|
|
|
x=orderExamineMapper.checkCountStatus(changeBo.getOrderNo(), 0,0);
|
|
|
|
|
|
- }else if (changeBo.getProcessState()==3){
|
|
|
+ }else if (changeBo.getProcessState()==OrderChangeProcess.JSJL.getCode()){
|
|
|
x=orderExamineMapper.checkCountStatus(changeBo.getOrderNo(), 1,0);
|
|
|
}
|
|
|
if (x==0){
|
|
|
@@ -291,8 +292,8 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
newOrderChangeMapper.updateByPrimaryKeySelective(changeBo);
|
|
|
}
|
|
|
}
|
|
|
- newOrderChangeMapper.updateTaskExamineName(aid,transferId,2);
|
|
|
newOrderChangeMapper.updateTaskExamineName(aid,transferId,3);
|
|
|
+ newOrderChangeMapper.updateTaskExamineName(aid,transferId,4);
|
|
|
taskAttributionLogMapper.insertList(aid, transferId, date);
|
|
|
tTaskLogMapper.updateDimissionTransfer(aid, transferId);
|
|
|
}
|