叶松
2023-11-27 111a401f033749c965f02f58c586a8feafd9afd1
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 {