| | |
| | | @Transactional(propagation = Propagation.REQUIRED) |
| | | public void insert(OpeLaboratoryReserve opeLaboratoryReserve) { |
| | | try { |
| | | opeLaboratoryReserve.setId(IDUtils.uuid()); |
| | | // opeLaboratoryReserve.setId(IDUtils.uuid()); |
| | | this.opeLaboratoryReserveDao.insertOpeLaboratoryReserve(opeLaboratoryReserve); |
| | | } catch (DuplicateKeyException ex) { |
| | | logger.warn(ex.getMessage(), ex); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<OpeLaboratoryReserve> selectByReId(String id) { |
| | | public List<OpeLaboratoryReserve> selectByReId(Long id) { |
| | | return this.opeLaboratoryReserveDao.selectByReId(id); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByReId(String newReId, String oldReId) { |
| | | public void updateByReId(Long newReId, Long oldReId) { |
| | | Map<String, Object> params=new HashMap(); |
| | | params.put("newReId",newReId); |
| | | params.put("oldReId",oldReId); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void updateByReagent(String reagentId, String houseId, String containerId, String userId) { |
| | | public void updateByReagent(Long reagentId, Long houseId, Long containerId, Long userId) { |
| | | Map<String, Object> params=new HashMap(); |
| | | params.put("reagentId",reagentId); |
| | | params.put("houseId",houseId); |