| | |
| | | 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; |
| | |
| | | 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 { |