|
|
@ -300,13 +300,13 @@ public class ScmVehicleReturnService extends MybatisBaseService<ScmVehicleReturn |
|
|
|
if (isTrue) { |
|
|
|
return rb.setMsg("该申请中包含车辆状态已是采购退库状态的车辆"); |
|
|
|
} |
|
|
|
String money = (String) bv.getFormVariables().get("money"); |
|
|
|
ScmVehicleReturnDto booad = baseMapper.getBySid(bv.getBusinessSid()); |
|
|
|
String money = booad.getMoney(); |
|
|
|
if (Double.parseDouble(money) > 0) { |
|
|
|
bv.getFormVariables().put("isLoan", true); |
|
|
|
} else { |
|
|
|
bv.getFormVariables().put("isLoan", false); |
|
|
|
} |
|
|
|
ScmVehicleReturnDto booad = baseMapper.getBySid(bv.getBusinessSid()); |
|
|
|
String businessTaskid = booad.getTaskId(); |
|
|
|
if (businessTaskid.equals(bv.getTaskId())) { //只有数据一致的时候才能进行下一步
|
|
|
|
ResultBean<UpdateFlowFieldVo> rb1 = flowableFeign.handleProsess(bv); |
|
|
|