forked from I3-YF/i3plus-mes-yfai
模具腔组主数据(3个页面)
parent
2c1917ac02
commit
960e478536
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCavityGroupCfg;
|
||||
|
||||
/**
|
||||
* @Description : 腔组维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesCavityGroupCfgService extends IBaseMesService<MesCavityGroupCfg> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCavityGroupDetailCfg;
|
||||
|
||||
/**
|
||||
* @Description : 腔组明细维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesCavityGroupDetailCfgService extends IBaseMesService<MesCavityGroupDetailCfg> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentProdParamCfg;
|
||||
|
||||
/**
|
||||
* @Description : 设备加工参数维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesEquipmentProdParamCfgService extends IBaseMesService<MesEquipmentProdParamCfg>{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesModelMultiCavity;
|
||||
|
||||
/**
|
||||
* @Description : 一模多腔维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesModelMultiCavityService extends IBaseMesService<MesModelMultiCavity> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
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.MesCavityGroupCfg;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Description : 腔组维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:32
|
||||
* @Modify:
|
||||
**/
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCavityGroupCfg")
|
||||
public class MesCavityGroupCfgController extends BaseMesController<MesCavityGroupCfg> {
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
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.MesCavityGroupDetailCfg;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Description : 腔组明细维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:32
|
||||
* @Modify:
|
||||
**/
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCavityGroupDetailCfg")
|
||||
public class MesCavityGroupDetailCfgController extends BaseMesController<MesCavityGroupDetailCfg> {
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
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.MesEquipmentProdParamCfg;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Description : 设备加工参数维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:32
|
||||
* @Modify:
|
||||
**/
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesEquipmentProdParamCfg")
|
||||
public class MesEquipmentProdParamCfgController extends BaseMesController<MesEquipmentProdParamCfg> {
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesCavityGroupDetailCfgService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCavityGroupCfg;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCavityGroupDetailCfg;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 腔组明细维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:05
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesCavityGroupDetailCfgServiceImpl extends BaseMesService<MesCavityGroupDetailCfg> implements IMesCavityGroupDetailCfgService {
|
||||
|
||||
protected void setPackQueryBean(MesCavityGroupDetailCfg bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getCavityCode(),"cavityCode",packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getEquipmentCode(),"equipmentCode",packBean);
|
||||
}
|
||||
|
||||
|
||||
protected void onInsertBean(MesCavityGroupDetailCfg item) {
|
||||
|
||||
}
|
||||
|
||||
protected void onUpdateBean(MesCavityGroupDetailCfg item) {
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesEquipmentProdParamCfgService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentProdParamCfg;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 设备加工参数维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:05
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesEquipmentProdParamCfgServiceImpl extends BaseMesService<MesEquipmentProdParamCfg> implements IMesEquipmentProdParamCfgService {
|
||||
|
||||
protected void setPackQueryBean(MesEquipmentProdParamCfg bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getCavityCode(),"cavityCode",packBean);
|
||||
DdlPreparedPack.getNumEqualPack(bean.getSeq(),"seq",packBean);
|
||||
}
|
||||
|
||||
|
||||
protected void onInsertBean(MesEquipmentProdParamCfg item) {
|
||||
|
||||
}
|
||||
|
||||
protected void onUpdateBean(MesEquipmentProdParamCfg item) {
|
||||
}
|
||||
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesModelMultiCavity;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesModelMultiCavityService extends BaseMesService<MesModelMultiCavity> {
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesModelMultiCavityService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentProdParamCfg;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesModelMultiCavity;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
/**
|
||||
* @Description : 一模多腔维护
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/5/14 14:29
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesModelMultiCavityServiceImpl extends BaseMesService<MesModelMultiCavity> implements IMesModelMultiCavityService {
|
||||
protected void setPackQueryBean(MesModelMultiCavity bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getModuleCode(),"moduleCode",packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getPartNo(),"partNo",packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getEquipmentCode(),"equipmentCode",packBean);
|
||||
}
|
||||
|
||||
|
||||
protected void onInsertBean(MesModelMultiCavity item) {
|
||||
|
||||
}
|
||||
|
||||
protected void onUpdateBean(MesModelMultiCavity item) {
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue