新增 主数据bean

tags/yfai-mes-ext-v1.0
LML丶 1 year ago
parent d73c00a60b
commit 0250ea0677

@ -0,0 +1,13 @@
package cn.estsh.i3plus.ext.mes.api.base;
import cn.estsh.i3plus.pojo.mes.bean.MesDefectRecord;
/**
* @Description:
* @CreateDate 2024/04/16
* @Author mingliang.li
*/
public interface IMesDefectRecordService extends IBaseMesService<MesDefectRecord> {
}

@ -0,0 +1,13 @@
package cn.estsh.i3plus.ext.mes.api.base;
import cn.estsh.i3plus.pojo.mes.bean.MesDefect;
/**
* @Description:
* @CreateDate 2024/04/16
* @Author mingliang.li
*/
public interface IMesDefectService extends IBaseMesService<MesDefect> {
}

@ -0,0 +1,16 @@
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.MesDefect;
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 + "/mesDefect")
public class MesDefectController extends BaseMesController<MesDefect> {
}

@ -0,0 +1,14 @@
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.MesDefectRecord;
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 + "/mesDefectRecord")
public class MesDefectRecordController extends BaseMesController<MesDefectRecord> {
}

@ -3,9 +3,11 @@ 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.MesPartTransferDetail;
import cn.estsh.i3plus.pojo.mes.bean.MesPartType;
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 + "/mesPartType")

@ -0,0 +1,12 @@
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
import cn.estsh.i3plus.ext.mes.api.base.IMesDefectRecordService;
import cn.estsh.i3plus.pojo.mes.bean.MesDefectRecord;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Service
@Slf4j
public class MesDefectRecordService extends BaseMesService<MesDefectRecord> implements IMesDefectRecordService {
}

@ -0,0 +1,12 @@
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
import cn.estsh.i3plus.ext.mes.api.base.IMesDefectService;
import cn.estsh.i3plus.pojo.mes.bean.MesDefect;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Service
@Slf4j
public class MesDefectService extends BaseMesService<MesDefect> implements IMesDefectService {
}
Loading…
Cancel
Save