forked from I3-YF/i3plus-mes-yfai
Merge remote-tracking branch 'origin/dev' into dev
# Conflicts: # modules/i3plus-ext-mes-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/apiservice/controller/base/BaseMesController.javatags/yfai-mes-ext-v1.0
commit
aef501cba1
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesAreaService extends IBaseMesService<MesArea> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBom;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesBomService extends IBaseMesService<MesBom> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBom;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerCarModelDetail;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesCustomerCarModelDetailService extends IBaseMesService<MesCustomerCarModelDetail> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerCarModel;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesCustomerCarModelService extends IBaseMesService<MesCustomerCarModel> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerOriganze;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesCustomerOriganizeService extends IBaseMesService<MesCustomerOriganze> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerPart;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesCustomerPartService extends IBaseMesService<MesCustomerPart> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerRoad;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesCustomerService extends IBaseMesService<MesCustomer> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtr;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtrDetail;
|
||||
import cn.estsh.impp.framework.boot.util.ResultBean;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesPartPtrDetailService extends IBaseMesService<MesPartPtrDetail>{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBom;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesPartService extends IBaseMesService<MesPart> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesWorkCellService extends IBaseMesService<MesWorkCell> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate 2024/04/16
|
||||
* @Author mingliang.li
|
||||
*/
|
||||
public interface IMesWorkCenterService extends IBaseMesService<MesWorkCenter> {
|
||||
|
||||
|
||||
}
|
@ -1,12 +1,20 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesBomService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBom;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesBomService extends BaseMesService<MesBom> {
|
||||
public class MesBomService extends BaseMesService<MesBom> implements IMesBomService {
|
||||
|
||||
protected void setPackQueryBean(MesBom bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getBomVersion(), "bomVersion", packBean);
|
||||
DdlPreparedPack.getStringLikerPack(bean.getPartNo(), "partNo", packBean);
|
||||
}
|
||||
}
|
||||
|
@ -1,12 +1,19 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesPartPtrService;
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesPartService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtr;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtrDetail;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesPartPtrService extends BaseMesService<MesPartPtr> {
|
||||
|
||||
public class MesPartPtrService extends BaseMesService<MesPartPtr> implements IMesPartPtrService {
|
||||
protected void setPackQueryBean(MesPartPtr bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getWorkCenterCode(), "workCenterCode", packBean);
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,20 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesPartService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtr;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesPartService extends BaseMesService<MesPart> {
|
||||
public class MesPartService extends BaseMesService<MesPart> implements IMesPartService {
|
||||
|
||||
protected void setPackQueryBean(MesPart bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getPartNo(), "partNo", packBean);
|
||||
DdlPreparedPack.getStringLikeEqualPack(bean.getPartName(), "partName", packBean);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,22 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesShiftService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesShift;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesShiftService extends BaseMesService<MesShift> {
|
||||
public class MesShiftService extends BaseMesService<MesShift> implements IMesShiftService {
|
||||
|
||||
protected void setPackQueryBean(MesShift bean, DdlPackBean packBean) {
|
||||
|
||||
DdlPreparedPack.getNumEqualPack(bean.getIsValid(), "isValid", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getShiftCode(), "shiftCode", packBean);
|
||||
DdlPreparedPack.getStringLikeEqualPack(bean.getShiftName(), "shiftName", packBean);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,12 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesWorkCellService;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesWorkCellService extends BaseMesService<MesWorkCell> {
|
||||
public class MesWorkCellService extends BaseMesService<MesWorkCell> implements IMesWorkCellService {
|
||||
|
||||
}
|
||||
|
@ -1,11 +1,13 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesWorkCenterService;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesWorkCenterService extends BaseMesService<MesWorkCenter> {
|
||||
public class MesWorkCenterService extends BaseMesService<MesWorkCenter> implements IMesWorkCenterService {
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue