新增 主数据bean

tags/yfai-mes-ext-v1.0
LML丶 1 year ago
parent ace93ba407
commit 01ab141291

@ -2,9 +2,11 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesDefectManagement; import cn.estsh.i3plus.pojo.mes.bean.MesDefectManagement;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@Api("可疑缺陷管理")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesDefectManagement") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesDefectManagement")

@ -2,9 +2,11 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesExperimentalPieceRule; import cn.estsh.i3plus.pojo.mes.bean.MesExperimentalPieceRule;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@Api("实验件规则")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesExperimentalPieceRule") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesExperimentalPieceRule")

@ -3,12 +3,14 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesArea; import cn.estsh.i3plus.pojo.mes.bean.MesArea;
import cn.estsh.i3plus.pojo.mes.bean.MesPart; import cn.estsh.i3plus.pojo.mes.bean.MesPart;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
/** /**
* *
*/ */
@Api("物料信息")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPart") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPart")
public class MesPartController extends BaseMesController<MesPart>{ public class MesPartController extends BaseMesController<MesPart>{

@ -2,12 +2,14 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesPartProdGroup; import cn.estsh.i3plus.pojo.mes.bean.MesPartProdGroup;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
/** /**
* *
*/ */
@Api("零件生产组")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartProdGroup") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartProdGroup")
public class MesPartProdGroupController extends BaseMesController<MesPartProdGroup>{ public class MesPartProdGroupController extends BaseMesController<MesPartProdGroup>{

@ -2,9 +2,11 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesPartProdGroupDetail; import cn.estsh.i3plus.pojo.mes.bean.MesPartProdGroupDetail;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@Api("零件生产组明细")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartProdGroupDetail") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartProdGroupDetail")

@ -2,9 +2,11 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesPartProdGroupWindowTime; import cn.estsh.i3plus.pojo.mes.bean.MesPartProdGroupWindowTime;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@Api("零件生产组窗口时间")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartProdGroupWindowTime") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartProdGroupWindowTime")

@ -13,6 +13,7 @@ import cn.estsh.impp.framework.boot.auth.AuthUtil;
import cn.estsh.impp.framework.boot.exception.ImppBusiException; import cn.estsh.impp.framework.boot.exception.ImppBusiException;
import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder; import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder;
import cn.estsh.impp.framework.boot.util.ResultBean; import cn.estsh.impp.framework.boot.util.ResultBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -22,6 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
/** /**
* ptr * ptr
*/ */
@Api("ptr零件")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPtr") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPtr")
public class MesPartPtrController extends BaseMesController<MesPartPtr> { public class MesPartPtrController extends BaseMesController<MesPartPtr> {

@ -10,6 +10,7 @@ import cn.estsh.i3plus.pojo.mes.bean.MesPartPtrDetail;
import cn.estsh.impp.framework.boot.exception.ImppBusiException; import cn.estsh.impp.framework.boot.exception.ImppBusiException;
import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder; import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder;
import cn.estsh.impp.framework.boot.util.ResultBean; import cn.estsh.impp.framework.boot.util.ResultBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -20,6 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
/** /**
* ptr * ptr
*/ */
@Api("ptr零件明细")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPtrDetail") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPtrDetail")
public class MesPartPtrDetailController extends BaseMesController<MesPartPtrDetail> { public class MesPartPtrDetailController extends BaseMesController<MesPartPtrDetail> {

@ -2,9 +2,11 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesPartPullDetail; import cn.estsh.i3plus.pojo.mes.bean.MesPartPullDetail;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@Api("零件拉动组明细")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPullDetail") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPullDetail")

@ -2,9 +2,10 @@ package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant; import cn.estsh.i3plus.ext.mes.pojo.constant.MesCommonConstant;
import cn.estsh.i3plus.pojo.mes.bean.MesProductVersion; import cn.estsh.i3plus.pojo.mes.bean.MesProductVersion;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@Api("生产版本")
@RestController @RestController
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesProductVersion") @RequestMapping(MesCommonConstant.MES_YANFEN + "/mesProductVersion")

Loading…
Cancel
Save