|
@@ -49,24 +49,24 @@ public class FuelFingListener extends AbstractWorkflowTaskListener {
|
|
|
|
|
|
if(statusRecord1 != null){
|
|
if(statusRecord1 != null){
|
|
statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
- statusRecordMapper.updateById(statusRecord1);
|
|
|
|
|
|
+// statusRecordMapper.updateById(statusRecord1);
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
- statusRecordMapper.insert(statusRecord);
|
|
|
|
|
|
+// statusRecordMapper.insert(statusRecord);
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
shortFillingInfo.setApproveStatus(status);
|
|
shortFillingInfo.setApproveStatus(status);
|
|
|
|
|
|
if(statusRecord1 != null){
|
|
if(statusRecord1 != null){
|
|
statusRecord1.setStatus(status);
|
|
statusRecord1.setStatus(status);
|
|
- statusRecordMapper.updateById(statusRecord1);
|
|
|
|
|
|
+// statusRecordMapper.updateById(statusRecord1);
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setStatus(status);
|
|
statusRecord.setStatus(status);
|
|
- statusRecordMapper.insert(statusRecord);
|
|
|
|
|
|
+// statusRecordMapper.insert(statusRecord);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
shortFillingInfoService.updateAllColumnById(shortFillingInfo);
|
|
shortFillingInfoService.updateAllColumnById(shortFillingInfo);
|
|
@@ -81,23 +81,23 @@ public class FuelFingListener extends AbstractWorkflowTaskListener {
|
|
fuelFillingInfo.setApproveStatus(null);
|
|
fuelFillingInfo.setApproveStatus(null);
|
|
if(statusRecord1 != null){
|
|
if(statusRecord1 != null){
|
|
statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
- statusRecordMapper.updateById(statusRecord1);
|
|
|
|
|
|
+// statusRecordMapper.updateById(statusRecord1);
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
|
|
- statusRecordMapper.insert(statusRecord);
|
|
|
|
|
|
+// statusRecordMapper.insert(statusRecord);
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
fuelFillingInfo.setApproveStatus(status);
|
|
fuelFillingInfo.setApproveStatus(status);
|
|
if(statusRecord1 != null){
|
|
if(statusRecord1 != null){
|
|
statusRecord1.setStatus(status);
|
|
statusRecord1.setStatus(status);
|
|
- statusRecordMapper.updateById(statusRecord1);
|
|
|
|
|
|
+// statusRecordMapper.updateById(statusRecord1);
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setStatus(status);
|
|
statusRecord.setStatus(status);
|
|
- statusRecordMapper.insert(statusRecord);
|
|
|
|
|
|
+// statusRecordMapper.insert(statusRecord);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
fuelFillingInfoService.updateAllColumnById(fuelFillingInfo);
|
|
fuelFillingInfoService.updateAllColumnById(fuelFillingInfo);
|
|
@@ -128,12 +128,12 @@ public class FuelFingListener extends AbstractWorkflowTaskListener {
|
|
StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
|
|
StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
|
|
if(statusRecord1 != null){
|
|
if(statusRecord1 != null){
|
|
statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
|
|
statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
|
|
- statusRecordMapper.updateById(statusRecord1);
|
|
|
|
|
|
+// statusRecordMapper.updateById(statusRecord1);
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setId(businessKey);
|
|
statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
|
|
statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
|
|
- statusRecordMapper.insert(statusRecord);
|
|
|
|
|
|
+// statusRecordMapper.insert(statusRecord);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|