去除退料审核
This commit is contained in:
parent
027b891f69
commit
62ed341ec5
|
|
@ -158,4 +158,10 @@ public class Constants
|
||||||
/** 调试分公司*/
|
/** 调试分公司*/
|
||||||
public static final String TS = "调试分公司";
|
public static final String TS = "调试分公司";
|
||||||
|
|
||||||
|
/** 退库任务*/
|
||||||
|
public static final int BACK_TASK_TYPE = 36; //退料核查中
|
||||||
|
|
||||||
|
/** 退库状态 - 退料核查中*/
|
||||||
|
public static final String BACK_CHECKING_STATUS = "39"; //退料核查中
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package com.bonus.sgzb.material.controller;
|
||||||
|
|
||||||
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import cn.hutool.core.convert.Convert;
|
import cn.hutool.core.convert.Convert;
|
||||||
|
import com.bonus.sgzb.common.core.constant.Constants;
|
||||||
import com.bonus.sgzb.common.core.utils.DateUtils;
|
import com.bonus.sgzb.common.core.utils.DateUtils;
|
||||||
import com.bonus.sgzb.common.core.utils.ListPagingUtil;
|
import com.bonus.sgzb.common.core.utils.ListPagingUtil;
|
||||||
import com.bonus.sgzb.common.core.utils.ServletUtils;
|
import com.bonus.sgzb.common.core.utils.ServletUtils;
|
||||||
|
|
@ -162,8 +163,8 @@ public class BackApplyController extends BaseController {
|
||||||
return AjaxResult.error("后台退料编号生成异常,请重试!");
|
return AjaxResult.error("后台退料编号生成异常,请重试!");
|
||||||
}
|
}
|
||||||
bean.setCode(code);
|
bean.setCode(code);
|
||||||
bean.setTaskType(36);
|
bean.setTaskType(Constants.BACK_TASK_TYPE);
|
||||||
bean.setTaskStatus("37");
|
bean.setTaskStatus(Constants.BACK_CHECKING_STATUS);
|
||||||
// 创建任务
|
// 创建任务
|
||||||
boolean addTaskResult = backApplyService.insertSelective(bean) > 0;
|
boolean addTaskResult = backApplyService.insertSelective(bean) > 0;
|
||||||
if (addTaskResult && bean.getTaskId() != null) {
|
if (addTaskResult && bean.getTaskId() != null) {
|
||||||
|
|
@ -251,8 +252,8 @@ public class BackApplyController extends BaseController {
|
||||||
return AjaxResult.error("后台退料编号生成异常,请重试!");
|
return AjaxResult.error("后台退料编号生成异常,请重试!");
|
||||||
}
|
}
|
||||||
bean.setCode(code);
|
bean.setCode(code);
|
||||||
bean.setTaskType(36);
|
bean.setTaskType(Constants.BACK_TASK_TYPE);
|
||||||
bean.setTaskStatus("38");
|
bean.setTaskStatus(Constants.BACK_CHECKING_STATUS);
|
||||||
bean.setCreateBy(SecurityUtils.getLoginUser().getUserid().toString());
|
bean.setCreateBy(SecurityUtils.getLoginUser().getUserid().toString());
|
||||||
// 创建任务
|
// 创建任务
|
||||||
boolean addTaskResult = backApplyService.insertSelective(bean) > 0;
|
boolean addTaskResult = backApplyService.insertSelective(bean) > 0;
|
||||||
|
|
@ -350,8 +351,8 @@ public class BackApplyController extends BaseController {
|
||||||
return AjaxResult.error("后台退料编号生成异常,请重试!");
|
return AjaxResult.error("后台退料编号生成异常,请重试!");
|
||||||
}
|
}
|
||||||
bean.setCode(code);
|
bean.setCode(code);
|
||||||
bean.setTaskType(36);
|
bean.setTaskType(Constants.BACK_TASK_TYPE);
|
||||||
bean.setTaskStatus("37");
|
bean.setTaskStatus(Constants.BACK_CHECKING_STATUS);
|
||||||
boolean addTaskResult = backApplyService.insertSelective(bean) > 0;
|
boolean addTaskResult = backApplyService.insertSelective(bean) > 0;
|
||||||
// 创建任务
|
// 创建任务
|
||||||
if (addTaskResult && bean.getTaskId() != null) {
|
if (addTaskResult && bean.getTaskId() != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue