叶松
2023-12-01 8a51417e8182e163613b5d8a35d9fe2c4a6c74dc
hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/mixingstationstorage/service/impl/MinXingPlantServiceImpl.java
@@ -8,6 +8,7 @@
import com.thhy.general.config.SysUserInfo;
import com.thhy.general.exception.BasicException;
import com.thhy.general.utils.ExcelUtils;
import com.thhy.general.utils.UUIDUtils;
import com.thhy.general.utils.UserInfoUtils;
import com.thhy.materials.modules.biz.materialsplan.entity.RsbStatDto;
import com.thhy.materials.modules.biz.materialsplan.entity.StatResultVo;
@@ -59,6 +60,10 @@
      String companyId = sysUserInfo.getCompanyId();
      minXingPlantVo.setCompanyId(companyId);
      minXingPlantVo.setCreateUser(sysUserInfo.getUserId());
      minXingPlantVo.setId(UUIDUtils.create());
      minXingPlantVo.setOpType(1);
      minXingPlantVo.setMaterialValue(minXingPlantVo.getChangeStock());
      minXingPlantVo.setType(4);
      minXingPlantMapper.insert(minXingPlantVo);
      RLock lock = redissonClient.getLock("materlock");
      try {