forked from I3-YF/i3plus-mes-yfai
重庆打包
parent
bf114910e2
commit
ec7f396e33
@ -0,0 +1,7 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingPartType;
|
||||||
|
|
||||||
|
public interface IMesPackingPartTypeService extends IBaseMesService<MesPackingPartType> {
|
||||||
|
|
||||||
|
}
|
@ -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.MesPackingPartType;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
@Api("成品包装类型")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPackingPartType")
|
||||||
|
public class MesPackingPartTypeController extends BaseMesController<MesPackingPartType>{
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IMesPackingPartTypeService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.pojo.util.MesExtConstWords;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPackingPartType;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
@Slf4j
|
||||||
|
public class MesPackingPartTypeService extends BaseMesService<MesPackingPartType> implements IMesPackingPartTypeService {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void setPackQueryBean(MesPackingPartType bean, DdlPackBean packBean) {
|
||||||
|
DdlPreparedPack.getStringLikerPack(bean.getPartType(), MesExtConstWords.PART_TYPE, packBean);
|
||||||
|
DdlPreparedPack.getStringLikerPack(bean.getPartTypeName(), MesExtConstWords.PART_TYPE_NAME, packBean);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue