Browse Source

修改24号模型:警情未录入反馈人员信息

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

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

@ -1043,7 +1043,7 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
}
String originalFieldName = getKeyFieldName(originalSql);
if (modelId == 24) { //24号模型:警情未录入反馈人员信息
return "SELECT a.*, b.fkrbh, b.fkrxm FROM " + tableName + " a left join dwd_asj_zhtx_fkd b on a.jjdbh = b.jjdbh " + "WHERE " + originalFieldName + " IN " + "(" + uniqueKeys.stream().map(k -> "'" + k + "'").collect(Collectors.joining(",")) + ");";
return "SELECT a.*, b.fkrbh, b.fkrxm FROM " + tableName + " a left join dwd_asj_zhtx_fkd b on a.jjdbh = b.jjdbh " + "WHERE a." + originalFieldName + " IN " + "(" + uniqueKeys.stream().map(k -> "'" + k + "'").collect(Collectors.joining(",")) + ");";
}
return "SELECT * FROM " + tableName + " " + "WHERE " + originalFieldName + " IN " + "(" + uniqueKeys.stream().map(k -> "'" + k + "'").collect(Collectors.joining(",")) + ");";
}

Loading…
Cancel
Save