| | |
| | | <if test="warehouseId != null and warehouseId != ''"> |
| | | and ss.id like #{warehouseId} |
| | | </if> |
| | | order by ss.name ASC |
| | | order by ss.name ASC,su.create_time DESC |
| | | <if test="first != null and pageSize != null"> |
| | | limit #{first}, #{pageSize} |
| | | </if> |
| | |
| | | } |
| | | |
| | | if(opeUseFlow.getCreateTime()==null){ |
| | | opeUseFlow.setCreateTime(new Timestamp(System.currentTimeMillis())); |
| | | opeUseFlow.setCreateTime(new Timestamp(System.currentTimeMillis()+1000)); |
| | | } |
| | | |
| | | this.opeUseFlowDao.insertOpeUseFlow(opeUseFlow); |
| | |
| | | ors.setContainerId(reagentReceiving.getLabContainerId()); |
| | | ors.setHouseId(reagentReceiving.getLabId()); |
| | | ors.setUserId(reagentReceiving.getApplyUserId()); |
| | | opeReagentStatusService.updateReagentStatus(ors); |
| | | |
| | | if (opeReagentStatusService.isAllowWarehouseUse(ors)) { |
| | | // 减少库存 |