From 8d3ff63ab144ad6b48015b01196bc901944a48f9 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期一, 16 十二月 2024 10:51:41 +0800 Subject: [PATCH] 煤质部分后端代码 --- iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java index bcb2bd5..63c8554 100644 --- a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java +++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java @@ -6,7 +6,6 @@ import com.iailab.framework.common.service.impl.BaseServiceImpl; import com.iailab.framework.common.util.object.BeanUtils; import com.iailab.framework.common.util.object.ConvertUtils; -import com.iailab.iems.common.utils.SerialNumUtils; import com.iailab.module.pms.coalquality.modules.detection.dao.QualityMediumDao; import com.iailab.module.pms.coalquality.modules.detection.dto.QualityMediumDTO; import com.iailab.module.pms.coalquality.modules.detection.entity.QualityMediumEntity; @@ -14,7 +13,6 @@ import com.iailab.module.pms.coalquality.modules.detection.vo.MediumPageReqVO; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -32,10 +30,6 @@ @Service public class QualityMediumServiceImpl extends BaseServiceImpl<QualityMediumDao, QualityMediumEntity> implements QualityMediumService { - - @Autowired - private SerialNumUtils serialNumUtils; - private String BUSINESS_CODE = "QualityMedium"; @@ -55,7 +49,7 @@ @Override public void save(QualityMediumDTO dto) { - dto.setCode(serialNumUtils.getByBusinessDate(BUSINESS_CODE, dto.getRq(), 4)); + //dto.setCode(serialNumUtils.getByBusinessDate(BUSINESS_CODE, dto.getRq(), 4)); QualityMediumEntity entity = ConvertUtils.sourceToTarget(dto, QualityMediumEntity.class); entity.setCreateDate(new Date()); // entity.setCreator(SecurityUser.getUserId().toString()); -- Gitblit v1.9.3