提交 f1ccfaf3 authored 作者: zhoushaopan's avatar zhoushaopan

feat(配发模块,标签管理): 修改了配发撤回的阅知,标签管理中根据表面号查询

修改了配发撤回的阅知,标签管理中根据表面号查询
上级 2d19debc
...@@ -984,9 +984,11 @@ public class AllotBillController { ...@@ -984,9 +984,11 @@ public class AllotBillController {
allotBillService.delete(allotBill.getId()); allotBillService.delete(allotBill.getId());
} }
// 配发撤回:操作人 撤回 配发:【发送单位】至【发往单位】【型号数量】
messageBto1.setContent("撤回对" + allotBill.getReceiveUnit()+"的型号为"+deviceLibraryList.stream().map(DeviceLibrary::getModel) // 例:市A 撤回 配发:【杭州市机要局】至【萧山机要局】【型号:A001,A002共3件】
.collect(Collectors.toList())+"的任务"); messageBto1.setContent(MessageFormatUtil.spellTwoWicket(allotBill.getSendUnit(),allotBill.getReceiveUnit())+
MessageFormatUtil.spellModelSetAndCount(deviceLibraryList.stream().map(DeviceLibrary::getModel)
.collect(Collectors.toSet()),allotBill.getAllotCount()));
MessageBto messageBto = new MessageBto(-1, taskBto.getBusinessType(), messageBto1.getContent(), idList, 1); MessageBto messageBto = new MessageBto(-1, taskBto.getBusinessType(), messageBto1.getContent(), idList, 1);
BeanUtils.copyProperties(messageBto1,messageBto); BeanUtils.copyProperties(messageBto1,messageBto);
messageBto.setTaskId(-1); messageBto.setTaskId(-1);
......
...@@ -1401,6 +1401,8 @@ public class DeviceLibraryServiceImpl implements DeviceLibraryService { ...@@ -1401,6 +1401,8 @@ public class DeviceLibraryServiceImpl implements DeviceLibraryService {
if (deviceLibrarySelectVo.getSeqInterval()!=null&&DeviceSeqUtil.selectDeviceSeqs(deviceLibrarySelectVo.getSeqInterval()).size()>0){ if (deviceLibrarySelectVo.getSeqInterval()!=null&&DeviceSeqUtil.selectDeviceSeqs(deviceLibrarySelectVo.getSeqInterval()).size()>0){
predicateBuilder.in("seqNumber", DeviceSeqUtil.selectDeviceSeqs(deviceLibrarySelectVo.getSeqInterval())); predicateBuilder.in("seqNumber", DeviceSeqUtil.selectDeviceSeqs(deviceLibrarySelectVo.getSeqInterval()));
} }
predicateBuilder.like(deviceLibrarySelectVo.getRfidCardId() != null,"rfidCardId",
"%"+deviceLibrarySelectVo.getRfidCardId()+"%");
//新增库房位置 //新增库房位置
predicateBuilder.eq(deviceLibrarySelectVo.getStorageLocationId() != null,"storageLocationId",deviceLibrarySelectVo.getStorageLocationId()); predicateBuilder.eq(deviceLibrarySelectVo.getStorageLocationId() != null,"storageLocationId",deviceLibrarySelectVo.getStorageLocationId());
//新增装备的形态 //新增装备的形态
......
...@@ -395,6 +395,8 @@ public class MatchingDeviceLibraryServiceImpl implements MatchingDeviceLibrarySe ...@@ -395,6 +395,8 @@ public class MatchingDeviceLibraryServiceImpl implements MatchingDeviceLibrarySe
predicateBuilder.in("rfidCardId", ""); predicateBuilder.in("rfidCardId", "");
} }
} }
predicateBuilder.like(matchingDeviceSelectVo.getRfidCardId() != null,"rfidCardId",
"%"+matchingDeviceSelectVo.getRfidCardId()+"%");
predicateBuilder.eq(matchingDeviceSelectVo.getMatchingDeviceStorageLocationId() != null, predicateBuilder.eq(matchingDeviceSelectVo.getMatchingDeviceStorageLocationId() != null,
"matchingDeviceStorageLocationId",matchingDeviceSelectVo.getMatchingDeviceStorageLocationId()); "matchingDeviceStorageLocationId",matchingDeviceSelectVo.getMatchingDeviceStorageLocationId());
return predicateBuilder; return predicateBuilder;
......
...@@ -36,6 +36,9 @@ public class MatchingDeviceSelectVo extends CustomPage { ...@@ -36,6 +36,9 @@ public class MatchingDeviceSelectVo extends CustomPage {
@ApiModelProperty(value = "存放位置id") @ApiModelProperty(value = "存放位置id")
private Integer matchingDeviceStorageLocationId; private Integer matchingDeviceStorageLocationId;
@ApiModelProperty(value = "rfidCardId")
private Integer rfidCardId;
private String typeDim; private String typeDim;
private String modelDim; private String modelDim;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论