forked from I3-YF/i3plus-mes-yfai
Merge remote-tracking branch 'origin/dev' into dev
commit
c3ed51b7a1
@ -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,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroupDetail;
|
||||
|
||||
/**
|
||||
* @Description :装车组详情
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 14:50
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesLoadingGroupDetailService extends IBaseMesService<MesLoadingGroupDetail> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroup;
|
||||
|
||||
/**
|
||||
* @Description :装车组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 14:50
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesLoadingGroupService extends IBaseMesService<MesLoadingGroup> {
|
||||
}
|
@ -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,13 @@
|
||||
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.MesLoadingGroup;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Api(description = "装车组")
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesLoadingGroup")
|
||||
public class MesLoadingGroupController extends BaseMesController<MesLoadingGroup> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
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.MesLoadingGroupDetail;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Api(description = "装车组详情")
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesLoadingGroupDetail")
|
||||
public class MesLoadingGroupDetailController extends BaseMesController<MesLoadingGroupDetail> {
|
||||
}
|
@ -1,15 +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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesModelMultiCavity;
|
||||
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 + "/mesModelMultiCavity")
|
||||
public class MesModelMultiCavityController extends BaseMesController<MesModelMultiCavity>{
|
||||
public class MesModelMultiCavityController extends BaseMesController<MesModelMultiCavity> {
|
||||
}
|
||||
|
@ -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) {
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesLoadingGroupDetailService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroupDetail;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 装车组详情
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 15:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesLoadingGroupDetailServiceImpl extends BaseMesService<MesLoadingGroupDetail> implements IMesLoadingGroupDetailService {
|
||||
|
||||
protected void setPackQueryBean(MesLoadingGroupDetail bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getShippingGroupNo(), "shippingGroupNo", packBean);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesLoadingGroupService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroup;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 装车组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 15:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesLoadingGroupServiceImpl extends BaseMesService<MesLoadingGroup> implements IMesLoadingGroupService {
|
||||
|
||||
protected void setPackQueryBean(MesLoadingGroup bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getLoadingGroupNo(), "loadingGroupNo", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getLoadingGroupName(), "loadingGroupName", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getCustomerCode(), "customerCode", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getCustomerOrganizeCode(), "customerOrganizeCode", packBean);
|
||||
}
|
||||
|
||||
}
|
@ -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