feat(corp): 添加third_platform_id过滤条件并增加entId字段
- 在多个数据访问对象的查询中添加third_platform_id = '20'的过滤条件 - 为DataDangerCheckRecordReqDto类新增entId属性以支持乌兰察布需求dev-wulanchabu
parent
65b9387ae4
commit
696484d063
|
|
@ -115,5 +115,7 @@ public class DataDangerCheckRecordReqDto extends DataCommonReqDto {
|
|||
@ApiModelProperty(value = "更新人")
|
||||
private String updateBy;
|
||||
|
||||
@ApiModelProperty(value = "企业ID,乌兰察布需要")
|
||||
private String entId;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
FROM data_danger_check_record
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
FROM data_danger_info
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
FROM data_hidden_check_mission
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
FROM data_risk_control_measure
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@
|
|||
FROM data_risk_events
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
FROM data_risk_object
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@
|
|||
FROM data_risk_unit
|
||||
WHERE data_id = #{dataId}
|
||||
and work_id is not null
|
||||
and third_platform_id = '20'
|
||||
ORDER BY push_time desc
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue