This commit is contained in:
parent
49a158312a
commit
03667beb9d
|
|
@ -41,7 +41,7 @@ import javax.annotation.Resource;
|
|||
|
||||
/**
|
||||
* 报废任务详细Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-10-16
|
||||
*/
|
||||
|
|
@ -62,7 +62,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
|
||||
/**
|
||||
* 查询报废任务详细
|
||||
*
|
||||
*
|
||||
* @param id 报废任务详细主键
|
||||
* @return 报废任务详细
|
||||
*/
|
||||
|
|
@ -73,7 +73,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
|
||||
/**
|
||||
* 查询报废任务详细列表
|
||||
*
|
||||
*
|
||||
* @param scrapApplyDetails 报废任务详细
|
||||
* @return 报废任务详细
|
||||
*/
|
||||
|
|
@ -132,7 +132,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
|
||||
/**
|
||||
* 新增报废任务详细
|
||||
*
|
||||
*
|
||||
* @param scrapApplyDetails 报废任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
|
|
@ -148,7 +148,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
|
||||
/**
|
||||
* 修改报废任务详细
|
||||
*
|
||||
*
|
||||
* @param scrapApplyDetails 报废任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
|
|
@ -164,7 +164,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
|
||||
/**
|
||||
* 批量删除报废任务详细
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的报废任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
|
@ -175,7 +175,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
|
||||
/**
|
||||
* 删除报废任务详细信息
|
||||
*
|
||||
*
|
||||
* @param id 报废任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
|
@ -639,7 +639,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
*/
|
||||
private Long insertScrapTt() {
|
||||
Long newTask = null;
|
||||
int thisMonthMaxOrder = taskMapper.getMonthMaxOrderByDate(DateUtils.getCurrentYear(), DateUtils.getCurrentMonth(), TmTaskTypeEnum.TM_TASK_PART_SCRAP.getTaskTypeId(), null);
|
||||
int thisMonthMaxOrder = taskMapper.getMonthMaxOrderByDate(DateUtils.getCurrentYear(), DateUtils.getCurrentMonth(), TmTaskTypeEnum.TM_TASK_PART_SCRAP.getTaskTypeId());
|
||||
// 生成盘点报废单号
|
||||
String code = genderBfTaskCode(thisMonthMaxOrder);
|
||||
TmTask tmTask = new TmTask(null, TmTaskTypeEnum.TM_TASK_PART_SCRAP.getTaskTypeId(), RepairInputStatusEnum.INPUT_TASK_NO_FINISHED.getStatus(),
|
||||
|
|
@ -915,7 +915,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
*/
|
||||
private Long insertTt(Long preTaskId) {
|
||||
Long newTask = null;
|
||||
int thisMonthMaxOrder = taskMapper.getMonthMaxOrderByDate(DateUtils.getCurrentYear(), DateUtils.getCurrentMonth(), TmTaskTypeEnum.TM_TASK_REPAIR.getTaskTypeId(), null);
|
||||
int thisMonthMaxOrder = taskMapper.getMonthMaxOrderByDate(DateUtils.getCurrentYear(), DateUtils.getCurrentMonth(), TmTaskTypeEnum.TM_TASK_REPAIR.getTaskTypeId());
|
||||
// 生成维修单号
|
||||
String code = genderWxTaskCode(thisMonthMaxOrder);
|
||||
TmTask tmTask = new TmTask(null, TmTaskTypeEnum.TM_TASK_REPAIR.getTaskTypeId(), RepairTaskStatusEnum.TASK_STATUS_PROCESSING.getStatus(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue