Browse Source

修改27、28、30号模型:修改警员信息

main
sjh 1 year ago
parent
commit
b37214ab1f
  1. 15
      src/main/java/com/biutag/supervision/service/ModelClueService.java

15
src/main/java/com/biutag/supervision/service/ModelClueService.java

@ -338,14 +338,17 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
} }
} }
// 反馈单 // 反馈单
if (modelId == 24) { //24号模型:警情未录入反馈人员信息 if (modelId == 24 || modelId == 27 || modelId == 28 || modelId == 30 ) {
String barId = (String) data.get("fkrbh"); String fkrbh = (String) data.get("fkrbh");
Map<String, Object> bar = barId != null && !barId.isEmpty() ? modelClueDataMapper.selectBAR(barId) : null; String fkrxm = (String) data.get("fkrxm");
if (bar != null) { if (fkrbh != null && !fkrbh.isEmpty()) {
modelClue.setInvolvePoliceEmpNo((String) bar.get("JH")); modelClue.setInvolvePoliceEmpNo(fkrbh);
modelClue.setInvolvePoliceName((String) bar.get("XM"));
} else { } else {
modelClue.setInvolvePoliceEmpNo("无警号数据"); modelClue.setInvolvePoliceEmpNo("无警号数据");
}
if (fkrxm != null && !fkrxm.isEmpty()) {
modelClue.setInvolvePoliceName(fkrxm);
} else {
modelClue.setInvolvePoliceName("无姓名数据"); modelClue.setInvolvePoliceName("无姓名数据");
} }
} }

Loading…
Cancel
Save