Browse Source

fix:重新领取溶液的时候清空目标加液容量

master
白凤吉 2 days ago
parent
commit
ddbd19279e
  1. 2
      src/main/java/com/iflytop/handacid/common/service/ReceiveRecordService.java

2
src/main/java/com/iflytop/handacid/common/service/ReceiveRecordService.java

@ -38,6 +38,7 @@ public class ReceiveRecordService extends ServiceImpl<ReceiveRecordMapper, Recei
channel.setReceivedVolume(receiveRecord.getReceivedVolume());
channel.setConcentration(receiveRecord.getConcentration());
channel.setSolutionId(receiveRecord.getSolutionId());
channel.setTargetVolume(null);
channelService.updateById(channel);
ChannelState channelState = deviceState.getChannelStateMap().get(receiveRecord.getChannelCode());
@ -46,6 +47,7 @@ public class ReceiveRecordService extends ServiceImpl<ReceiveRecordMapper, Recei
channelState.setConcentration(receiveRecord.getConcentration());
channelState.setSolutionId(receiveRecord.getSolutionId());
channelState.setSolutionName(receiveRecord.getSolutionName());
channelState.setTargetVolume(null);
return true;
}

Loading…
Cancel
Save