| | |
| | | lr.setValidFlag(ValidFlag.VALID); |
| | | opeLaboratoryReserveService.insert(lr); |
| | | |
| | | opeReagentStatus.setStatus(ArrivalStatus.NOREGISTER); |
| | | opeReagentStatus.setUserId(reagentReceiving.getApplyUserId()); |
| | | opeReagentStatus.setHouseId(reagentReceiving.getLabId()); |
| | | opeReagentStatus.setContainerId(reagentReceiving.getLabContainerId()); |
| | |
| | | return ResponseModel.getErrInstance("账户名为空"); |
| | | } |
| | | |
| | | HazardousWasteUser sysUser = sysUserService.getUserByAccount(account); |
| | | HazardousWasteUser sysUser = sysUserService.getUserByAccount(account,null); |
| | | if (sysUser == null){ |
| | | return ResponseModel.getErrInstance("账户名不存在"); |
| | | }else{ |
| | |
| | | hazardousWaste.setTid(sdf.format(new Date())); |
| | | hazardousWaste.setCreateTime(new Date()); |
| | | hazardousWaste.setStatus("待确认"); |
| | | HazardousWasteUser sysUser = sysUserService.getUserByAccount(hazardousWaste.getApplyPerson()); |
| | | HazardousWasteUser sysUser = sysUserService.getUserByAccount(null,hazardousWaste.getApplyPerson()); |
| | | hazardousWaste.setUnit( sysUser.getCompany()); |
| | | if (hazardousWaste.getAcid()== null){ |
| | | hazardousWaste.setAcid(new BigDecimal(0)); |