预警标准时设itemsId为'-1'

更改唯一性约束
This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-31 14:47:54 +08:00
parent 8040cc0711
commit a843354794
3 changed files with 13 additions and 2 deletions
@@ -25,6 +25,7 @@
items.TERMS_CONDITIONS,
items.DUTY_ENGINEER,
items.STAND_ID,
info.STAND_NAME,
info.STAND_TYPE,
info.STAND_NUMBER,
attrInfo.CLLX,
@@ -4,7 +4,7 @@
<insert id="ignoreInsert" parameterType="java.util.LinkedList">
INSERT IGNORE INTO sar_stand_warning (ID,STAND_ID, STAND_TYPE, STAND_CODE,STAND_NAME,PUT_TIME,APPLY_TYPE,DUTY_ENGINEER,ITEMS_ID,ITEMS_NUM,ITEMS_NAME,POLICY_ID,POLICY_NAME,MARK,POWER)
REPLACE INTO sar_stand_warning (ID,STAND_ID, STAND_TYPE, STAND_CODE,STAND_NAME,PUT_TIME,APPLY_TYPE,DUTY_ENGINEER,ITEMS_ID,ITEMS_NUM,ITEMS_NAME,POLICY_ID,POLICY_NAME,MARK,POWER)
VALUES
<if test="warningEOS !=null and warningEOS.size()!=0">
<foreach collection="warningEOS" item="item" index="index" separator=",">