forked from I3-YF/i3plus-mes-yfai
业务履历
parent
12d3944353
commit
844dafc2ce
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.busi;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IBaseMesService;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesCcscRule;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPojoVersion;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :版本记录
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zxw
|
||||||
|
* @CreateDate 2024/5/23 13:28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesPojoVersionService extends IBaseMesService<MesPojoVersion> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.controller.busi;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.busi.IMesPojoVersionService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.busi.report.IMesYfReportService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.apiservice.controller.base.BaseMesController;
|
||||||
|
import cn.estsh.i3plus.ext.mes.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.MesPojoVersion;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesProduceSn;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesSpotCheckOrderResult;
|
||||||
|
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.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: 业务履历
|
||||||
|
* @Author: zxw
|
||||||
|
* @Date: 2024/6/17 15:16
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPojoVersion")
|
||||||
|
public class MesPojoVersionController extends BaseMesController<MesPojoVersion> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.busi;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IBaseMesService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.busi.IMesPojoVersionService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.busi.IMesSpotCheckOrderPartService;
|
||||||
|
import cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base.BaseMesService;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPojoVersion;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesSpotCheckOrderPart;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.repository.MesPojoVersionRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.repository.MesSpotCheckOrderRepository;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :版本记录
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zxw
|
||||||
|
* @CreateDate 2024/5/23 13:28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Service
|
||||||
|
public class MesPojoVersionService extends BaseMesService<MesPojoVersion> implements IMesPojoVersionService {
|
||||||
|
|
||||||
|
protected void setPackQueryBean(MesPojoVersion bean, DdlPackBean packBean) {
|
||||||
|
DdlPreparedPack.getNumEqualPack(bean.getBusiData(), "busiData", packBean);
|
||||||
|
DdlPreparedPack.getStringEqualPack(bean.getRefClass(), "refClass", packBean);
|
||||||
|
DdlPreparedPack.getNumEqualPack(bean.getOperateType(), "operateType", packBean);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue