forked from I3-YF/i3plus-mes-yfai
包装定义维护功能开发
parent
73b97cc3b0
commit
c6778d3b56
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefineDetails;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护明细
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 18:25
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesPackingDefineDetailsService extends IBaseMesService<MesPackingDefineDetails> {
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefine;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 18:25
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesPackingDefineService extends IBaseMesService<MesPackingDefine> {
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefineTimeLines;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护时效性
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 18:25
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesPackingDefineTimeLinesService extends IBaseMesService<MesPackingDefineTimeLines> {
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefine;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 18:34
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Api("包装定义维护")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPackingDefine")
|
||||||
|
public class MesPackingDefineController extends BaseMesController<MesPackingDefine>{
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefine;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefineDetails;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护明细
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 18:34
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Api("包装定义维护明细")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPackingDefineDetails")
|
||||||
|
public class MesPackingDefineDetailsController extends BaseMesController<MesPackingDefineDetails>{
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefine;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefineTimeLines;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护时效性
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 18:34
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Api("包装定义维护时效性")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPackingDefineTimeLines")
|
||||||
|
public class MesPackingDefineTimeLinesController extends BaseMesController<MesPackingDefineTimeLines>{
|
||||||
|
}
|
@ -0,0 +1,36 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IMesPackingDefineTimeLinesService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IMesPartProduceTypeService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.apiservice.unit.exception.MesException;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefineTimeLines;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPartProduceType;
|
||||||
|
import cn.estsh.impp.framework.boot.util.ValidatorBean;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 包装定义维护时效性
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2024/6/3 14:41
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Service
|
||||||
|
@Slf4j
|
||||||
|
public class MesPackingDefineTimeLinesServiceImpl extends BaseMesService<MesPackingDefineTimeLines> implements IMesPackingDefineTimeLinesService {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void setPackQueryBean(MesPackingDefineTimeLines bean, DdlPackBean packBean) {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onInsertBean(MesPackingDefineTimeLines item) {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onUpdateBean(MesPackingDefineTimeLines item) {
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue