forked from I3-YF/i3plus-mes-yfai
工艺流程界面问题修复
parent
73350ef0b9
commit
3c556186da
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRoute;
|
||||
|
||||
/**
|
||||
* @Description : 流程表
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/7/3 9:46
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesRouteService extends IBaseMesService<MesRoute> {
|
||||
|
||||
}
|
@ -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.MesRoute;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Description : 流程表
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/7/3 9:45
|
||||
* @Modify:
|
||||
**/
|
||||
@Api(description = "流程表")
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesRoute")
|
||||
public class MesRouteController extends BaseMesController<MesRoute> {
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesRouteService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRoute;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 流程表
|
||||
* @Reference :
|
||||
* @Author : junsheng.li
|
||||
* @CreateDate 2024/7/3 9:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesRouteServiceImpl extends BaseMesService<MesRoute> implements IMesRouteService {
|
||||
|
||||
@Override
|
||||
protected void setPackQueryBean(MesRoute bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringLikerPack(bean.getRouteCode(), "routeCode", packBean);
|
||||
DdlPreparedPack.getStringLikerPack(bean.getRouteName(), "routeName", packBean);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue