| | |
| | | |
| | | <insert id="addQualityManage"> |
| | | insert into SM_RES_DATA_QUALITY_MANAGE (res_id,rule_id,create_time,update_time,val) |
| | | select a."guid" as res_id,${ruleId} AS rule_id,NOW() AS create_time,NOW() AS update_time, ${varStr} |
| | | select distinct a."guid" as res_id,${ruleId} AS rule_id,NOW() AS create_time,NOW() AS update_time, ${varStr} |
| | | from SJZT_MD."att_res_base" a |
| | | left join SJZT_MD."att_res_danger_manage_special" b on (a."guid" = b."res_guid") |
| | | left join SJZT_MD."att_res_stag_char" c on (a."guid" = c."res_guid") |