forked from I3-YF/i3plus-mes-yfai
MES装车组+装车组详情
parent
5e6264b0cc
commit
9bf9dac36e
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroupDetail;
|
||||
|
||||
/**
|
||||
* @Description :装车组详情
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 14:50
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesLoadingGroupDetailService extends IBaseMesService<MesLoadingGroupDetail> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroup;
|
||||
|
||||
/**
|
||||
* @Description :装车组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 14:50
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IMesLoadingGroupService extends IBaseMesService<MesLoadingGroup> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
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.MesLoadingGroup;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Api(description = "装车组")
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesLoadingGroup")
|
||||
public class MesLoadingGroupController extends BaseMesController<MesLoadingGroup> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
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.MesLoadingGroupDetail;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Api(description = "装车组详情")
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesLoadingGroupDetail")
|
||||
public class MesLoadingGroupDetailController extends BaseMesController<MesLoadingGroupDetail> {
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesLoadingGroupDetailService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroupDetail;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 装车组详情
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 15:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesLoadingGroupDetailServiceImpl extends BaseMesService<MesLoadingGroupDetail> implements IMesLoadingGroupDetailService {
|
||||
|
||||
protected void setPackQueryBean(MesLoadingGroupDetail bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getShippingGroupNo(), "shippingGroupNo", packBean);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IMesLoadingGroupService;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLoadingGroup;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description : 装车组
|
||||
* @Reference :
|
||||
* @Author : gsz
|
||||
* @CreateDate 2024/5/14 15:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesLoadingGroupServiceImpl extends BaseMesService<MesLoadingGroup> implements IMesLoadingGroupService {
|
||||
|
||||
protected void setPackQueryBean(MesLoadingGroup bean, DdlPackBean packBean) {
|
||||
DdlPreparedPack.getStringEqualPack(bean.getLoadingGroupNo(), "loadingGroupNo", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getLoadingGroupName(), "loadingGroupName", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getCustomerCode(), "customerCode", packBean);
|
||||
DdlPreparedPack.getStringEqualPack(bean.getCustomerOrganizeCode(), "customerOrganizeCode", packBean);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue