| | |
| | | SysUser user = sysUserDao.getSysUserByIdCard(idcard); |
| | | |
| | | LinkedHashMap params = new LinkedHashMap(); |
| | | if (user == null) { |
| | | throw new ApiException(ApiStatus.PARAM_ERR,"无相关人员卡号"); |
| | | } |
| | | params.put("userId", user.getId()); |
| | | params.put("realstatus", realstatus); |
| | | params.put("reagentCode", reagentCode); |
| | |
| | | throw new ApiException(ApiStatus.PARAM_ERR); |
| | | } |
| | | //判断是否重复 |
| | | logger.info("测试"); |
| | | if (sysAlarmDao.selectOne(containerCode, controllerCode, sysAlarm.getWarningId(), sysAlarm.getWarningTime()) > 0) { |
| | | continue; |
| | | } |
| | |
| | | String updateTime = dataJson.getString("updateTime"); |
| | | BigDecimal remainder = dataJson.getBigDecimal("remainder"); |
| | | String operateState = dataJson.getString("operateState"); |
| | | BigDecimal volume = dataJson.getBigDecimal("volume"); |
| | | |
| | | Map<String, String> metaMap = new HashMap<>(); |
| | | metaMap.put("groupId", "operate_status"); |
| | |
| | | opeUseFlow.setRemainder(remainder); |
| | | opeUseFlow.setOperateState(baseMetaList.get(0).getId()); |
| | | opeUseFlow.setCreateTime(new java.sql.Timestamp(createtime.getTime())); |
| | | opeUseFlow.setVolume(volume); |
| | | |
| | | // <!--0:个人领用 1:在仓库sys_warehouse_container |
| | | // 2:在实验室sys_laboratory_container 3:报废--> |