|
|
|
@ -5,13 +5,14 @@ import cn.estsh.i3plus.ext.mes.pcn.pojo.constant.MesCommonConstant;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.ListPager;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.bean.MesShiftGroupCenterCfg;
|
|
|
|
|
import cn.estsh.impp.framework.boot.auth.AuthUtil;
|
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppBusiException;
|
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder;
|
|
|
|
|
import cn.estsh.impp.framework.boot.util.ResultBean;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description: 产线与班组的对应关系
|
|
|
|
@ -30,7 +31,6 @@ public class MesShiftGroupCenterCfgController {
|
|
|
|
|
@ApiOperation(value = "产线与班组的对应关系")
|
|
|
|
|
public ResultBean queryMesShiftGroupCenterCfgByPager(MesShiftGroupCenterCfg mesShiftGroupCenterCfg, Pager pager) {
|
|
|
|
|
try {
|
|
|
|
|
mesShiftGroupCenterCfg.setOrganizeCode(AuthUtil.getOrganizeCode());
|
|
|
|
|
ListPager<MesShiftGroupCenterCfg> partInspectionListPager = mesShiftGroupCenterCfgService.queryMesShiftGroupCenterCfgByPager(mesShiftGroupCenterCfg, pager);
|
|
|
|
|
return ResultBean.success("查询成功").setListPager(partInspectionListPager);
|
|
|
|
|
} catch (ImppBusiException imppException) {
|
|
|
|
|