HANDLE, SITE, SFC, SPLIT_SFC, SPLIT_QTY, ROUTER, CREATE_USER, CREATED_DATE_TIME
INSERT INTO Z_SPLIT_SFC
HANDLE,
SITE,SFC,SPLIT_SFC,SPLIT_QTY,ROUTER,CREATE_USER,CREATED_DATE_TIME, VALUES
#{handle},
#{site},#{sfc},#{splitSfc},#{splitQty},#{router},#{createUser},#{createdDateTime},
INSERT INTO Z_SPLIT_SFC
VALUES
#{handle},
#{site},
#{sfc},
#{splitSfc},
#{splitQty},
#{router},
#{createUser},
#{createdDateTime},
UPDATE Z_SPLIT_SFC SITE=#{et.site},SFC=#{et.sfc},SPLIT_SFC=#{et.splitSfc},SPLIT_QTY=#{et.splitQty},ROUTER=#{et.router},CREATE_USER=#{et.createUser},CREATED_DATE_TIME=#{et.createdDateTime}, WHERE HANDLE=#{et.handle} and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}
UPDATE Z_SPLIT_SFC
SITE=#{et.site},
SFC=#{et.sfc},
SPLIT_SFC=#{et.splitSfc},
SPLIT_QTY=#{et.splitQty},
ROUTER=#{et.router},
CREATE_USER=#{et.createUser},
CREATED_DATE_TIME=#{et.createdDateTime},
WHERE HANDLE=#{et.handle} and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}
UPDATE Z_SPLIT_SFC SITE=#{et.site},SFC=#{et.sfc},SPLIT_SFC=#{et.splitSfc},SPLIT_QTY=#{et.splitQty},ROUTER=#{et.router},CREATE_USER=#{et.createUser},CREATED_DATE_TIME=#{et.createdDateTime},
HANDLE=#{ew.entity.handle}
AND SITE=#{ew.entity.site} AND SFC=#{ew.entity.sfc} AND SPLIT_SFC=#{ew.entity.splitSfc} AND SPLIT_QTY=#{ew.entity.splitQty} AND ROUTER=#{ew.entity.router} AND CREATE_USER=#{ew.entity.createUser} AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}
${ew.sqlSegment}
${ew.sqlSegment}
DELETE FROM Z_SPLIT_SFC WHERE HANDLE=#{handle}
DELETE FROM Z_SPLIT_SFC
${k} = #{cm[${k}]}
DELETE FROM Z_SPLIT_SFC
HANDLE=#{ew.entity.handle}
AND SITE=#{ew.entity.site} AND SFC=#{ew.entity.sfc} AND SPLIT_SFC=#{ew.entity.splitSfc} AND SPLIT_QTY=#{ew.entity.splitQty} AND ROUTER=#{ew.entity.router} AND CREATE_USER=#{ew.entity.createUser} AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}
${ew.sqlSegment}
${ew.sqlSegment}
DELETE FROM Z_SPLIT_SFC WHERE HANDLE IN (
#{item}
)