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

feat(维修模块,自查模块): 修改

新增维修管理排序,自查增加手持终端信息
上级 883b4363
......@@ -73,7 +73,6 @@ public class DeviceModelSort {
* @return 排序号码
*/
public static Integer toModelSort(String model) {
System.out.println(model);
Integer sort= mapModelSort.get(model);
if(sort == null){
sort = 9999;
......
......@@ -35,4 +35,6 @@ public interface RepairDetailDao extends JpaRepository<RepairDetail, Integer>, J
@Modifying
@Query("update RepairDetail r set r.record3 = :record where r.id = :id")
void updateRecord3(String record,Integer id);
List<RepairDetail> findAllByIdIn(List<Integer> ids);
}
......@@ -317,6 +317,7 @@ public class SelfCheckController {
selfExaminationBillEntity.setCheckedCount(selfCheckSaveVo.getCheckedCount());
selfExaminationBillEntity.setCheckingCount(selfCheckSaveVo.getCheckingCount());
selfExaminationBillEntity.setUserbId(selfCheckSaveVo.getUserbId());
selfExaminationBillEntity.setHandheldTerminalInformation(selfCheckSaveVo.getHandheldTerminalInformation());
if (selfCheckSaveVo.getUnStockDevices()!=null&&selfCheckSaveVo.getUnStockDevices().size()>0){
selfExaminationBillEntity.setUnStockDetail(JacksonUtil.toJSon(selfCheckSaveVo.getUnStockDevices()));
}
......@@ -368,7 +369,7 @@ public class SelfCheckController {
List<Integer> idList = new ArrayList<>();
idList.add(selfCheckSaveVo.getUserbId());
//阅知
MessageBto messageBto = new MessageBto(taskBto.getId(), taskBto.getBusinessType(), "完成终端自查", idList, 0);
MessageBto messageBto = new MessageBto(taskBto.getId(), taskBto.getBusinessType(), "完成终端自查", idList, 0,0);
messageService.add(messageBto);
}
else {
......
......@@ -137,6 +137,9 @@ public class SelfCheckBill {
@ApiModelProperty(value = "自查未入库新增装备详情(RFID卡号以.为分隔符)")
private String newDeviceDetail;
@ApiModelProperty(value = "手持终端信息")
private String handheldTerminalInformation;
@ApiModelProperty(value = "检查人")
@Transient
private String checkUser;
......
......@@ -64,6 +64,9 @@ public class SelfCheckSaveVo {
@ApiModelProperty(value = "非在库装备集合")
private List<DeviceLibrary> unStockDevices;
@ApiModelProperty(value = "手持终端信息")
private String handheldTerminalInformation;
public SelfCheckBill toDo() {
SelfCheckBill selfExaminationBillEntity = new SelfCheckBill();
BeanUtils.copyProperties(this, selfExaminationBillEntity);
......
......@@ -74,7 +74,7 @@ public class MessageBto {
private Integer isHighLight = 0;
@ApiModelProperty(value = "是否置顶(0:不是,1:是)")
private Integer isTop;
private Integer isTop = 0;
/**
* bto类转化为do类
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论