app-退料接收
This commit is contained in:
parent
c035d39874
commit
b4c5bbd7af
|
|
@ -20,7 +20,7 @@ import java.util.Date;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 退料接收
|
||||
* 退料接收-app
|
||||
* @author bns_han
|
||||
*/
|
||||
@RestController
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue