app-退料接收

This commit is contained in:
bns_han 2023-12-25 10:15:38 +08:00
parent c035d39874
commit b4c5bbd7af
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ import java.util.Date;
import java.util.List;
/**
* 退料接收
* 退料接收-app
* @author bns_han
*/
@RestController

View File

@ -95,7 +95,7 @@ public class BackReceiveServiceImpl implements BackReceiveService {
//修改任务状态
res= updateTaskStatus(taskId,40);
if(res == 0) {
throw new RuntimeException("插入back_check_details异常");
throw new RuntimeException("tm_task修改状态");
}
//更加退料接收的数据创建下一步流程
//合格的插入入库记录input_apply_details修改库存ma_type,修改机具状态
@ -210,6 +210,7 @@ public class BackReceiveServiceImpl implements BackReceiveService {
for(BackApplyInfo bi : hgList){
Integer maId = bi.getMaId();
if(maId == null){
res=1;
}else{
res = backReceiveMapper.updateMaStatus(maId,"15");
}