forked from I3-YF/i3plus-mes-yfai
Merge remote-tracking branch 'origin/dev' into dev
commit
2263ba7836
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesProduceGroup;
|
||||
|
||||
/**
|
||||
* @Description :MES_生产组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/6/9 13:30
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesProduceGroupService extends IBaseMesService<MesProduceGroup> {
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
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.MesProduceGroup;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Description :MES_生产组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/6/9 13:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Api(description = "装车组")
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesProduceGroup")
|
||||
public class MesProduceGroupController extends BaseMesController<MesProduceGroup> {
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesProduceGroupService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesProduceGroup;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : MES_生产组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/6/9 13:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesProduceGroupServiceImpl extends BaseMesService<MesProduceGroup> implements IMesProduceGroupService {
|
||||
|
||||
@Override
|
||||
protected void setPackQueryBean(MesProduceGroup bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringLikerPack(bean.getPgCode(), "pgCode", packBean);
|
||||
DdlPreparedPack.getStringLikerPack(bean.getPgName(), "pgName", packBean);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue