replace
INTO basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence, purType, attributeType, hcType, useMuti, useNum, supName, createTime,
updateTime, modifyTime,
createUser,
updateUser,
remark, useExpireTime, `dispatch`,
groupBuy, needCert, isStack,
distributeLevelCount, useLevel,
distributeLevel,
splitEnable, autoCode, distributeMaxLevel, useMaxLevel, unpackUseTime, detailSort)
values (#{id},
#{uuid},
#{mainId},
#{thirdId},
#{thirdId1},
#{thirdId2},
#{thirdId3},
#{thirdId4},
#{udplatCode},
#{isUseDy},
#{isDisable},
#{isLock},
#{lockStatus},
#{isAdavence},
#{purType},
#{attributeType},
#{hcType},
#{useMuti},
#{useNum},
#{supName},
#{createTime},
#{updateTime},
#{modifyTime},
#{createUser},
#{updateUser},
#{remark},
#{useExpireTime},
#{dispatch},
#{groupBuy},
#{needCert},
#{isStack},
#{distributeLevelCount},
#{useLevel},
#{distributeLevel},
#{splitEnable},
#{autoCode}, #{distributeMaxLevel}, #{useMaxLevel}, #{unpackUseTime}, #{detailSort})
DELETE
FROM basic_udirel
WHERE id = #{id}
DELETE
FROM basic_udirel WHERE id in
#{item}
DELETE
FROM basic_udirel
WHERE uuid = #{uuid}
UPDATE basic_udirel
uuid=#{uuid},
mainId=#{mainId},
thirdId=#{thirdId},
thirdId1=#{thirdId1},
thirdId2=#{thirdId2},
thirdId3=#{thirdId3},
thirdId4=#{thirdId4},
udplatCode=#{udplatCode},
isUseDy=#{isUseDy},
isDisable=#{isDisable},
isLock=#{isLock},
lockStatus=#{lockStatus},
isAdavence=#{isAdavence},
purType=#{purType},
attributeType=#{attributeType},
hcType=#{hcType},
useMuti=#{useMuti},
useNum=#{useNum},
supName=#{supName},
createTime=#{createTime},
updateTime=#{updateTime},
modifyTime=#{modifyTime},
createUser=#{createUser},
updateUser=#{updateUser},
remark=#{remark},
useExpireTime=#{useExpireTime},
dispatch=#{dispatch},
groupBuy=#{groupBuy},
lowStockNum=#{lowStockNum},
overStockNum=#{overStockNum},
recentDateTime=#{recentDateTime},
isDateBy=#{isDateBy},
relCode=#{relCode},
needCert=#{needCert},
isStack=#{isStack},
payFeeCode=#{payFeeCode},
autoCode=#{autoCode},
splitEnable=#{splitEnable},
distributeLevelCount=#{distributeLevelCount},
useLevel=#{useLevel},
distributeMaxLevel=#{distributeMaxLevel},
useMaxLevel=#{useMaxLevel},
distributeLevel=#{distributeLevel},
unpackUseTime=#{unpackUseTime},
detailSort=#{detailSort},
WHERE id = #{id}
update
basic_udirel
set `relCode` = #{item.relCode}
where id = #{item.id}