select CONVERYOR_ID, OPTTYPE, STORAGE_ID, DEC_ID, AUTO_MODE, MANUAL_MODE, AlarmMode, LoadMode, OverSize, OutEnable, InEnable, Remark, PlcID, Mode, Ledip, ledtype, pcIp, desciption, writeMode, hgh, row1, cln, layer, plcitem, error, LinkId, pickingid, pickingct, wgh, cloc, MoveSts, sts, startCyId, locid, rkwgh, endrk, barcode from t_conveyor_status
insert into t_conveyor_status
CONVERYOR_ID,
OPTTYPE,
STORAGE_ID,
DEC_ID,
AUTO_MODE,
MANUAL_MODE,
AlarmMode,
LoadMode,
OverSize,
OutEnable,
InEnable,
Remark,
PlcID,
Mode,
Ledip,
ledtype,
pcIp,
desciption,
writeMode,
hgh,
row1,
cln,
layer,
plcitem,
error,
LinkId,
pickingid,
pickingct,
wgh,
cloc,
MoveSts,
sts,
startCyId,
locid,
rkwgh,
endrk,
barcode,
#{converyorId},
#{opttype},
#{storageId},
#{decId},
#{autoMode},
#{manualMode},
#{alarmmode},
#{loadmode},
#{oversize},
#{outenable},
#{inenable},
#{remark},
#{plcid},
#{mode},
#{ledip},
#{ledtype},
#{pcip},
#{desciption},
#{writemode},
#{hgh},
#{row},
#{cln},
#{layer},
#{plcitem},
#{error},
#{linkid},
#{pickingid},
#{pickingct},
#{wgh},
#{cloc},
#{movests},
#{sts},
#{startcyid},
#{locid},
#{rkwgh},
#{endrk},
#{barcode},
update t_conveyor_status
OPTTYPE = #{opttype},
STORAGE_ID = #{storageId},
DEC_ID = #{decId},
AUTO_MODE = #{autoMode},
MANUAL_MODE = #{manualMode},
AlarmMode = #{alarmmode},
LoadMode = #{loadmode},
OverSize = #{oversize},
OutEnable = #{outenable},
InEnable = #{inenable},
Remark = #{remark},
PlcID = #{plcid},
Mode = #{mode},
Ledip = #{ledip},
ledtype = #{ledtype},
pcIp = #{pcip},
desciption = #{desciption},
writeMode = #{writemode},
hgh = #{hgh},
row1 = #{row},
cln = #{cln},
layer = #{layer},
plcitem = #{plcitem},
error = #{error},
LinkId = #{linkid},
pickingid = #{pickingid},
pickingct = #{pickingct},
wgh = #{wgh},
cloc = #{cloc},
MoveSts = #{movests},
sts = #{sts},
startCyId = #{startcyid},
locid = #{locid},
rkwgh = #{rkwgh},
endrk = #{endrk},
barcode = #{barcode},
where CONVERYOR_ID = #{converyorId}
delete from t_conveyor_status where CONVERYOR_ID = #{converyorId}
delete from t_conveyor_status where CONVERYOR_ID in
#{converyorId}