replace
INTO basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
updateUser,
remark, useExpireTime, dispatch, groupBuy, needCert)
values (#{id},
#{uuid},
#{mainId},
#{thirdId},
#{thirdId1},
#{thirdId2},
#{thirdId3},
#{thirdId4},
#{udplatCode},
#{isUseDy},
#{isDisable},
#{isLock},
#{lockStatus},
#{isAdavence},
#{useMuti},
#{useNum},
#{supName},
#{createTime},
#{updateTime},
#{modifyTime},
#{createUser},
#{updateUser},
#{remark}, #{useExpireTime}, #{dispatch}, #{groupBuy}, #{needCert})
insert
ignore
INTO basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
updateUser,
remark, useExpireTime, dispatch, groupBuy, needCert)
values (#{id},
#{uuid},
#{mainId},
#{thirdId},
#{thirdId1},
#{thirdId2},
#{thirdId3},
#{thirdId4},
#{udplatCode},
#{isUseDy},
#{isDisable},
#{isLock},
#{lockStatus},
#{isAdavence},
#{useMuti},
#{useNum},
#{supName},
#{createTime},
#{updateTime},
#{modifyTime},
#{createUser},
#{updateUser},
#{remark}, #{useExpireTime}, #{dispatch}, #{groupBuy}, #{needCert})
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},
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},
WHERE id = #{id}
replace
into basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
updateUser,
remark, useExpireTime, dispatch, groupBuy,needCert)
values
(#{item.id},
#{item.uuid},
#{item.mainId},
#{item.thirdId},
#{item.thirdId1},
#{item.thirdId2},
#{item.thirdId3},
#{item.thirdId4},
#{item.udplatCode},
#{item.isUseDy},
#{item.isDisable},
#{item.isLock},
#{item.lockStatus},
#{item.isAdavence},
#{item.useMuti},
#{item.useNum},
#{item.supName},
#{item.createTime},
#{item.updateTime},
#{item.modifyTime},
#{item.createUser},
#{item.updateUser},
#{item.remark}, #{item.useExpireTime}, #{item.dispatch}, #{item.groupBuy},#{item.needCert})
update
basic_udirel
set `relCode` = #{item.relCode}
where id = #{item.id}