diff --git a/ym-packing/src/main/java/com/cnbm/packing/service/impl/ChangePackagingBoxHistoryServiceBizImpl.java b/ym-packing/src/main/java/com/cnbm/packing/service/impl/ChangePackagingBoxHistoryServiceBizImpl.java index 9ec9c0a..a71cc81 100644 --- a/ym-packing/src/main/java/com/cnbm/packing/service/impl/ChangePackagingBoxHistoryServiceBizImpl.java +++ b/ym-packing/src/main/java/com/cnbm/packing/service/impl/ChangePackagingBoxHistoryServiceBizImpl.java @@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; import com.cnbm.admin.base.BaseSupport; import com.cnbm.admin.base.BaseSupport; +import com.cnbm.admin.utils.BaseSupportUtils; import com.cnbm.common.page.PageData; import com.cnbm.common.service.impl.CrudServiceImpl; import com.cnbm.common.utils.ConvertUtils; @@ -33,8 +34,8 @@ import java.util.Map; @Service public class ChangePackagingBoxHistoryServiceBizImpl extends CrudServiceImpl implements ChangePackagingBoxHistoryServiceBiz { - @Autowired - private BaseSupport baseSupport; +// @Autowired +// private BaseSupport baseSupport; @Override public QueryWrapper getWrapper(Map params){ @@ -71,7 +72,7 @@ public class ChangePackagingBoxHistoryServiceBizImpl extends CrudServiceImpl getWrapper(Map params){ @@ -72,7 +73,7 @@ public class PrintModelServiceBizImpl extends CrudServiceImpl getWrapper(Map params){ @@ -69,7 +70,7 @@ public class WoCompensationPowerServiceBizImpl extends CrudServiceImpl getWrapper(Map params){ @@ -86,7 +87,7 @@ public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl getWrapper(Map params){ @@ -78,7 +79,7 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl wrapper = new UpdateWrapper<>(); @@ -132,12 +133,12 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl 0 && StringUtils.isNotBlank(dto.getWoSubstrateId())) { WoPackagingBoxSubstrate substrate = mapper.selectList(wrapper).get(0); substrate.setPackagingBoxId(dto.getPackagingBoxId()); - baseSupport.setUpdateCommonField(substrate); + BaseSupportUtils.setUpdateCommonField(substrate); updateById(substrate); } else { //模组ID有时为空,用户会输入”无码“ @@ -183,7 +184,7 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl getWrapper(Map params){ @@ -67,7 +68,7 @@ public class WoPowerLevelServiceBizImpl extends CrudServiceImpl