forked from I3-YF/i3plus-mes-yfai
基础主数据开
parent
a6bb46a1cf
commit
e9c2f6aded
@ -0,0 +1,19 @@
|
||||
package cn.estsh.i3plus.ext.mes.api.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesConfig;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2021/9/9 下午3:24
|
||||
* @Author: simon.song
|
||||
*/
|
||||
public interface IMesConfigService {
|
||||
@ApiOperation(value = "获取配置表模板代码")
|
||||
String getCfgValue(String org, String key);
|
||||
|
||||
@ApiOperation(value = "获取配置表模板代码")
|
||||
MesConfig getCfgValueByCode(String key);
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,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.MesArea;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesArea")
|
||||
public class MesAreaController extends BaseMesController<MesArea>{
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBom;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesBom")
|
||||
public class MesBomController extends BaseMesController<MesBom>{
|
||||
}
|
@ -0,0 +1,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.MesCustomerCarModel;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCustomerCarModel")
|
||||
public class MesCustomerCarModelController extends BaseMesController<MesCustomerCarModel>{
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerCarModelDetail;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCustomerCarModelDetail")
|
||||
public class MesCustomerCarModelDetailController extends BaseMesController<MesCustomerCarModelDetail>{
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCustomer")
|
||||
public class MesCustomerController extends BaseMesController<MesCustomer>{
|
||||
}
|
@ -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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerOriganze;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCustomerOriganze")
|
||||
|
||||
public class MesCustomerOriganizeController extends BaseMesController<MesCustomerOriganze>{
|
||||
}
|
@ -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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerPart;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesCustomerPart")
|
||||
|
||||
public class MesCustomerPartController extends BaseMesController<MesCustomerPart>{
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesModelMultiCavity;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesModelMultiCavity")
|
||||
public class MesModelMultiCavityController extends BaseMesController<MesModelMultiCavity>{
|
||||
}
|
@ -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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPart")
|
||||
|
||||
public class MesPartController extends BaseMesController<MesPart>{
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtr;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesPartPtr")
|
||||
public class MesPartPtrController extends BaseMesController<MesPartPtr> {
|
||||
}
|
@ -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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesWorkCell")
|
||||
|
||||
public class MesWorkCellController extends BaseMesController<MesWorkCell>{
|
||||
}
|
@ -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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(MesCommonConstant.MES_YANFEN + "/mesWorkCenter")
|
||||
|
||||
public class MesWorkCenterController extends BaseMesController<MesWorkCenter>{
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.controller.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TestBaseController extends BaseMesController<MesArea>{
|
||||
}
|
@ -0,0 +1,169 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.api.base.IBaseMesService;
|
||||
import cn.estsh.i3plus.platform.common.exception.ImppExceptionEnum;
|
||||
import cn.estsh.i3plus.platform.common.tool.TimeTool;
|
||||
import cn.estsh.i3plus.platform.common.util.MesConstWords;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.bean.ListPager;
|
||||
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||
import cn.estsh.i3plus.pojo.base.common.PagerHelper;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2022/12/1 12:15
|
||||
* @Author: simon.song
|
||||
*/
|
||||
public abstract class BaseMesService<T extends BaseBean> implements IBaseMesService<T> {
|
||||
@Autowired
|
||||
protected BaseRepository<T, Long> baseRDao;
|
||||
|
||||
/**
|
||||
* 泛型class
|
||||
*/
|
||||
protected Class<T> mesClass;
|
||||
|
||||
/**
|
||||
* 初始化
|
||||
*/
|
||||
public BaseMesService() {
|
||||
// 通过反射获取T的真实类型
|
||||
ParameterizedType pt = (ParameterizedType) this.getClass().getGenericSuperclass();
|
||||
this.mesClass = (Class<T>) pt.getActualTypeArguments()[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<T> getMesClass() {
|
||||
return mesClass;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ListPager<T> queryPager(T bean, Pager pager) {
|
||||
DdlPackBean packBean = DdlPackBean.getDdlPackBean(bean.getOrganizeCode(), bean.getIsValid());
|
||||
setPackQueryBean(bean, packBean);
|
||||
pager = PagerHelper.getPager(pager, baseRDao.findByHqlWhereCount(packBean));
|
||||
List<T> list = baseRDao.findByHqlWherePage(packBean, pager);
|
||||
setBeanModel(list);
|
||||
return new ListPager<>(list, pager);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ListPager<T> queryPagerWhere(Pager pager, DdlPackBean packBean) {
|
||||
pager = PagerHelper.getPager(pager, baseRDao.findByHqlWhereCount(packBean));
|
||||
List<T> list = baseRDao.findByHqlWherePage(packBean, pager);
|
||||
setBeanModel(list);
|
||||
return new ListPager<>(list, pager);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<T> findAll(DdlPackBean packBean) {
|
||||
return baseRDao.findByHqlWhere(packBean);
|
||||
}
|
||||
|
||||
@Override
|
||||
public T get(Long id) {
|
||||
return baseRDao.getById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public T insert(T bean) {
|
||||
onInsertBean(bean);
|
||||
bean = baseRDao.insert(bean);
|
||||
return bean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<T> insertBatch(List<T> beanList) {
|
||||
for (T bean : beanList) {
|
||||
onInsertBean(bean);
|
||||
insert(bean);
|
||||
}
|
||||
return beanList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public T update(T bean) {
|
||||
onUpdateBean(bean);
|
||||
T originBean = baseRDao.getById(bean.getId());
|
||||
onModifyBean();
|
||||
baseRDao.update(bean);
|
||||
return originBean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updates(Iterable<T> beans) {
|
||||
for (T bean : beans) {
|
||||
onUpdateBean(bean);
|
||||
baseRDao.update(bean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteWeaklyById(Long id, String userName) {
|
||||
onDeleteId(id);
|
||||
baseRDao.deleteWeaklyById(id, userName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteWeaklyByIds(Long[] ids, String userName) {
|
||||
for (Long id : ids) {
|
||||
onDeleteId(id);
|
||||
baseRDao.deleteWeaklyById(id, userName);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(Long id) {
|
||||
onDeleteId(id);
|
||||
baseRDao.deleteById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteByIds(Long[] ids) {
|
||||
for (Long id : ids) {
|
||||
onDeleteId(id);
|
||||
baseRDao.deleteById(id);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateValid(Long id, int status, String userName) {
|
||||
if (status != CommonEnumUtil.IS_VAILD.INVAILD.getValue() && status != CommonEnumUtil.IS_VAILD.VAILD.getValue()) {
|
||||
throw ImppExceptionBuilder.newInstance()
|
||||
.setSystemID(CommonEnumUtil.SOFT_TYPE.MES.getCode())
|
||||
.setErrorCode(ImppExceptionEnum.VARIFY_EXCEPTION.getCode())
|
||||
.setErrorDetail("启用,禁用枚举状态值【%s】未被定义", status)
|
||||
.build();
|
||||
}
|
||||
return baseRDao.updateByProperties(new String[]{"id"}, new Object[]{id},
|
||||
new String[]{MesConstWords.IS_VALID, "modifyUser", "modifyDatetime"},
|
||||
new Object[]{status, userName, TimeTool.getNowTime(true)});
|
||||
}
|
||||
|
||||
protected void onInsertBean(T item) {
|
||||
}
|
||||
|
||||
protected void onUpdateBean(T item) {
|
||||
}
|
||||
|
||||
protected void onModifyBean() {
|
||||
}
|
||||
|
||||
protected void setBeanModel(List<T> list) {
|
||||
}
|
||||
|
||||
protected void setPackQueryBean(T bean, DdlPackBean packBean) {
|
||||
}
|
||||
|
||||
protected void onDeleteId(Long id) {
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesAreaService extends BaseMesService<MesArea> {
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBom;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesBomService extends BaseMesService<MesBom> {
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerCarModel;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerCarModelDetail;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesCustomerCarModelDetailService extends BaseMesService<MesCustomerCarModelDetail>{
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerCarModel;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesCustomerCarModelService extends BaseMesService<MesCustomerCarModel>{
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerOriganze;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author yinxiao
|
||||
* @date 2023-2023/6/2 10:54
|
||||
* @Description
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesCustomerOriganizeService extends BaseMesService<MesCustomerOriganze> {
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerPart;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2023/10/11 15:38
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
public class MesCustomerPartService extends BaseMesService<MesCustomerPart> {
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomer;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author yinxiao
|
||||
* @date 2023-2023/6/2 10:54
|
||||
* @Description
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesCustomerService extends BaseMesService<MesCustomer> {
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesModelMultiCavity;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesModelMultiCavityService extends BaseMesService<MesModelMultiCavity> {
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartPtr;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesPartPtrService extends BaseMesService<MesPartPtr> {
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesPartService extends BaseMesService<MesPart> {
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesWorkCellService extends BaseMesService<MesWorkCell> {
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class MesWorkCenterService extends BaseMesService<MesWorkCenter> {
|
||||
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||
|
||||
public class TestBaseService {
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package cn.estsh.i3plus.ext.mes.pojo.constant;
|
||||
|
||||
|
||||
public class MesCommonConstant {
|
||||
|
||||
//yanfeng
|
||||
public static final String MES_YANFEN = "/mes/yanfen";
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue