Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
7c6596b715
|
|
@ -20,7 +20,7 @@ import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 退料接收
|
* 退料接收-app
|
||||||
* @author bns_han
|
* @author bns_han
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ public class BackReceiveServiceImpl implements BackReceiveService {
|
||||||
//修改任务状态
|
//修改任务状态
|
||||||
res= updateTaskStatus(taskId,40);
|
res= updateTaskStatus(taskId,40);
|
||||||
if(res == 0) {
|
if(res == 0) {
|
||||||
throw new RuntimeException("插入back_check_details异常");
|
throw new RuntimeException("tm_task修改状态");
|
||||||
}
|
}
|
||||||
//更加退料接收的数据创建下一步流程
|
//更加退料接收的数据创建下一步流程
|
||||||
//合格的插入入库记录input_apply_details,修改库存ma_type,修改机具状态
|
//合格的插入入库记录input_apply_details,修改库存ma_type,修改机具状态
|
||||||
|
|
@ -210,6 +210,7 @@ public class BackReceiveServiceImpl implements BackReceiveService {
|
||||||
for(BackApplyInfo bi : hgList){
|
for(BackApplyInfo bi : hgList){
|
||||||
Integer maId = bi.getMaId();
|
Integer maId = bi.getMaId();
|
||||||
if(maId == null){
|
if(maId == null){
|
||||||
|
res=1;
|
||||||
}else{
|
}else{
|
||||||
res = backReceiveMapper.updateMaStatus(maId,"15");
|
res = backReceiveMapper.updateMaStatus(maId,"15");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ public class TypeTreeNode {
|
||||||
|
|
||||||
private String num;
|
private String num;
|
||||||
|
|
||||||
private String unitName;
|
private String unitNames;
|
||||||
|
|
||||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||||
private String level;
|
private String level;
|
||||||
|
|
|
||||||
|
|
@ -483,7 +483,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
FROM ma_type
|
FROM ma_type
|
||||||
JOIN cte ON ma_type.type_id = cte.parent_id
|
JOIN cte ON ma_type.type_id = cte.parent_id
|
||||||
)
|
)
|
||||||
SELECT type_id as typeId, parent_id as parentId,type_name as typeName,num,`level`,unit_name as unitName
|
SELECT type_id as typeId, parent_id as parentId,type_name as typeName,num,`level`,unit_name as unitNames
|
||||||
FROM cte
|
FROM cte
|
||||||
WHERE
|
WHERE
|
||||||
1=1
|
1=1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue