insert all into T_TRAIN_MARSHALLING
<trim prefix="(GKEY," suffix=")" suffixOverrides=",">
<if test="ID != null and ID != '' ">ID,</if>
<if test="1 == 1">TRAIN_NUM,</if>
<if test="PRE_TRAIN_NUMBER != null and PRE_TRAIN_NUMBER != '' ">PRE_TRAIN_NUMBER,</if>
<if test="TRAIN__WAGON_INFORMATION_FK_GKEY != null and TRAIN__WAGON_INFORMATION_FK_GKEY != '' ">TRAIN__WAGON_INFORMATION_FK_GKEY,</if>
<if test="1 == 1">WAGON_NUMBER,</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">WAGON_TYPE,</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">CHANGE_LENGTH,</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">SELF_WEIGHT,</if>
<if test="LOAD != null and LOAD != '' ">LOAD,</if>
<if test="NET_WEIGHT != null and NET_WEIGHT != '' ">NET_WEIGHT,</if>
<if test="Estimated_costs != null and Estimated_costs != '' ">Estimated_costs,</if>
<if test="RECEIVE_SEND != null and RECEIVE_SEND != '' ">RECEIVE_SEND,</if>
<if test="SEND_STATION != null and SEND_STATION != '' ">SEND_STATION,</if>
<if test="ARRIVAL_STATION != null and ARRIVAL_STATION != '' ">ARRIVAL_STATION,</if>
<if test="VARIETY != null and VARIETY != '' ">VARIETY,</if>
<if test="CARGO_TYPES != null and CARGO_TYPES != '' ">CARGO_TYPES,</if>
<if test="TICKET_SENDER != null and TICKET_SENDER != '' ">TICKET_SENDER,</if>
<if test="SENDER != null and SENDER != '' ">SENDER,</if>
<if test="TICKET_CONSIGNEE != null and TICKET_CONSIGNEE != '' ">TICKET_CONSIGNEE,</if>
<if test="CONSIGNEE != null and CONSIGNEE != '' ">CONSIGNEE,</if>
<if test="TICKET != null and TICKET != '' ">TICKET,</if>
<if test="BELONG != null and BELONG != '' ">BELONG,</if>
<if test="WEIGHT != null and WEIGHT != '' ">WEIGHT,</if>
<if test="ARMY != null and ARMY != '' ">ARMY,</if>
<if test="BACK != null and BACK != '' ">BACK,</if>
<if test="Code != null and Code != '' ">Code,</if>
<if test="WHOLE != null and WHOLE != '' ">WHOLE,</if>
<if test="NOTE != null and NOTE != '' ">NOTE,</if>
<if test="REMARK != null and REMARK != '' ">REMARK,</if>
<if test="CREATED != null and CREATED != '' ">CREATED,</if>
<if test="CREATOR != null and CREATOR != '' ">CREATOR,</if>
<if test="CHANGED != null and CHANGED != '' ">CHANGED,</if>
<if test="CHANGER != null and CHANGER != '' ">CHANGER,</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">IS_DELETED</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">sys_guid(),
<if test="ID != null and ID != '' ">#{ID},</if>
<if test="1 == 1">#{TRAIN_NUM},</if>
<if test="PRE_TRAIN_NUMBER != null and PRE_TRAIN_NUMBER != '' ">#{PRE_TRAIN_NUMBER},</if>
<if test="TRAIN__WAGON_INFORMATION_FK_GKEY != null and TRAIN__WAGON_INFORMATION_FK_GKEY != '' ">#{TRAIN__WAGON_INFORMATION_FK_GKEY},</if>
<if test="1 == 1">#{WAGON_NUMBER},</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">#{WAGON_TYPE},</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">#{CHANGE_LENGTH},</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">#{SELF_WEIGHT},</if>
<if test="LOAD != null and LOAD != '' ">#{LOAD},</if>
<if test="NET_WEIGHT != null and NET_WEIGHT != '' ">#{NET_WEIGHT},</if>
<if test="Estimated_costs != null and Estimated_costs != '' ">#{Estimated_costs},</if>
<if test="RECEIVE_SEND != null and RECEIVE_SEND != '' ">#{RECEIVE_SEND},</if>
<if test="SEND_STATION != null and SEND_STATION != '' ">#{SEND_STATION},</if>
<if test="ARRIVAL_STATION != null and ARRIVAL_STATION != '' ">#{ARRIVAL_STATION},</if>
<if test="VARIETY != null and VARIETY != '' ">#{VARIETY},</if>
<if test="CARGO_TYPES != null and CARGO_TYPES != '' ">#{CARGO_TYPES},</if>
<if test="TICKET_SENDER != null and TICKET_SENDER != '' ">#{TICKET_SENDER},</if>
<if test="SENDER != null and SENDER != '' ">#{SENDER},</if>
<if test="TICKET_CONSIGNEE != null and TICKET_CONSIGNEE != '' ">#{TICKET_CONSIGNEE},</if>
<if test="CONSIGNEE != null and CONSIGNEE != '' ">#{CONSIGNEE},</if>
<if test="TICKET != null and TICKET != '' ">#{TICKET},</if>
<if test="BELONG != null and BELONG != '' ">#{BELONG},</if>
<if test="WEIGHT != null and WEIGHT != '' ">#{WEIGHT},</if>
<if test="ARMY != null and ARMY != '' ">#{ARMY},</if>
<if test="BACK != null and BACK != '' ">#{BACK},</if>
<if test="Code != null and Code != '' ">#{Code},</if>
<if test="WHOLE != null and WHOLE != '' ">#{WHOLE},</if>
<if test="NOTE != null and NOTE != '' ">#{NOTE},</if>
<if test="REMARK != null and REMARK != '' ">#{REMARK},</if>
<if test="CREATED != null and CREATED != '' ">#{CREATED},</if>
<if test="CREATOR != null and CREATOR != '' ">#{CREATOR},</if>
<if test="CHANGED != null and CHANGED != '' ">#{CHANGED},</if>
<if test="CHANGER != null and CHANGER != '' ">#{CHANGER},</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">#{IS_DELETED}</if>
</trim>
into T_TRAIN_WAGON_INFORMATION
<trim prefix="(GKEY," suffix=")" suffixOverrides=",">
<if test="1 == 1">WAGON_NUMBER,</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">WAGON_TYPE,</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">CHANGE_LENGTH,</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">SELF_WEIGHT,</if>
<if test="LOAD != null and LOAD != '' ">LOAD,</if>
<if test="REMARK != null and REMARK != '' ">REMARK,</if>
<if test="CREATED != null and CREATED != '' ">CREATED,</if>
<if test="CREATOR != null and CREATOR != '' ">CREATOR,</if>
<if test="CHANGED != null and CHANGED != '' ">CHANGED,</if>
<if test="CHANGER != null and CHANGER != '' ">CHANGER,</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">IS_DELETED</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">sys_guid(),
<if test="1 == 1">#{WAGON_NUMBER},</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">#{WAGON_TYPE},</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">#{CHANGE_LENGTH},</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">#{SELF_WEIGHT},</if>
<if test="LOAD != null and LOAD != '' ">#{LOAD},</if>
<if test="REMARK != null and REMARK != '' ">#{REMARK},</if>
<if test="CREATED != null and CREATED != '' ">#{CREATED},</if>
<if test="CREATOR != null and CREATOR != '' ">#{CREATOR},</if>
<if test="CHANGED != null and CHANGED != '' ">#{CHANGED},</if>
<if test="CHANGER != null and CHANGER != '' ">#{CHANGER},</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">#{IS_DELETED}</if>
</trim>
insert all into T_TRAIN_MARSHALLING
<trim prefix="(GKEY," suffix=")" suffixOverrides=",">
<if test="ID != null and ID != '' ">ID,</if>
<if test="1 == 1">TRAIN_NUM,</if>
<if test="PRE_TRAIN_NUMBER != null and PRE_TRAIN_NUMBER != '' ">PRE_TRAIN_NUMBER,</if>
<if test="TRAIN__WAGON_INFORMATION_FK_GKEY != null and TRAIN__WAGON_INFORMATION_FK_GKEY != '' ">TRAIN__WAGON_INFORMATION_FK_GKEY,</if>
<if test="1 == 1">WAGON_NUMBER,</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">WAGON_TYPE,</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">CHANGE_LENGTH,</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">SELF_WEIGHT,</if>
<if test="LOAD != null and LOAD != '' ">LOAD,</if>
<if test="NET_WEIGHT != null and NET_WEIGHT != '' ">NET_WEIGHT,</if>
<if test="Estimated_costs != null and Estimated_costs != '' ">Estimated_costs,</if>
<if test="RECEIVE_SEND != null and RECEIVE_SEND != '' ">RECEIVE_SEND,</if>
<if test="SEND_STATION != null and SEND_STATION != '' ">SEND_STATION,</if>
<if test="ARRIVAL_STATION != null and ARRIVAL_STATION != '' ">ARRIVAL_STATION,</if>
<if test="VARIETY != null and VARIETY != '' ">VARIETY,</if>
<if test="CARGO_TYPES != null and CARGO_TYPES != '' ">CARGO_TYPES,</if>
<if test="TICKET_SENDER != null and TICKET_SENDER != '' ">TICKET_SENDER,</if>
<if test="SENDER != null and SENDER != '' ">SENDER,</if>
<if test="TICKET_CONSIGNEE != null and TICKET_CONSIGNEE != '' ">TICKET_CONSIGNEE,</if>
<if test="CONSIGNEE != null and CONSIGNEE != '' ">CONSIGNEE,</if>
<if test="TICKET != null and TICKET != '' ">TICKET,</if>
<if test="BELONG != null and BELONG != '' ">BELONG,</if>
<if test="WEIGHT != null and WEIGHT != '' ">WEIGHT,</if>
<if test="ARMY != null and ARMY != '' ">ARMY,</if>
<if test="BACK != null and BACK != '' ">BACK,</if>
<if test="Code != null and Code != '' ">Code,</if>
<if test="WHOLE != null and WHOLE != '' ">WHOLE,</if>
<if test="NOTE != null and NOTE != '' ">NOTE,</if>
<if test="REMARK != null and REMARK != '' ">REMARK,</if>
<if test="CREATED != null and CREATED != '' ">CREATED,</if>
<if test="CREATOR != null and CREATOR != '' ">CREATOR,</if>
<if test="CHANGED != null and CHANGED != '' ">CHANGED,</if>
<if test="CHANGER != null and CHANGER != '' ">CHANGER,</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">IS_DELETED</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">sys_guid(),
<if test="ID != null and ID != '' ">#{ID},</if>
<if test="1 == 1">#{TRAIN_NUM},</if>
<if test="PRE_TRAIN_NUMBER != null and PRE_TRAIN_NUMBER != '' ">#{PRE_TRAIN_NUMBER},</if>
<if test="TRAIN__WAGON_INFORMATION_FK_GKEY != null and TRAIN__WAGON_INFORMATION_FK_GKEY != '' ">#{TRAIN__WAGON_INFORMATION_FK_GKEY},</if>
<if test="1 == 1">#{WAGON_NUMBER},</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">#{WAGON_TYPE},</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">#{CHANGE_LENGTH},</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">#{SELF_WEIGHT},</if>
<if test="LOAD != null and LOAD != '' ">#{LOAD},</if>
<if test="NET_WEIGHT != null and NET_WEIGHT != '' ">#{NET_WEIGHT},</if>
<if test="Estimated_costs != null and Estimated_costs != '' ">#{Estimated_costs},</if>
<if test="RECEIVE_SEND != null and RECEIVE_SEND != '' ">#{RECEIVE_SEND},</if>
<if test="SEND_STATION != null and SEND_STATION != '' ">#{SEND_STATION},</if>
<if test="ARRIVAL_STATION != null and ARRIVAL_STATION != '' ">#{ARRIVAL_STATION},</if>
<if test="VARIETY != null and VARIETY != '' ">#{VARIETY},</if>
<if test="CARGO_TYPES != null and CARGO_TYPES != '' ">#{CARGO_TYPES},</if>
<if test="TICKET_SENDER != null and TICKET_SENDER != '' ">#{TICKET_SENDER},</if>
<if test="SENDER != null and SENDER != '' ">#{SENDER},</if>
<if test="TICKET_CONSIGNEE != null and TICKET_CONSIGNEE != '' ">#{TICKET_CONSIGNEE},</if>
<if test="CONSIGNEE != null and CONSIGNEE != '' ">#{CONSIGNEE},</if>
<if test="TICKET != null and TICKET != '' ">#{TICKET},</if>
<if test="BELONG != null and BELONG != '' ">#{BELONG},</if>
<if test="WEIGHT != null and WEIGHT != '' ">#{WEIGHT},</if>
<if test="ARMY != null and ARMY != '' ">#{ARMY},</if>
<if test="BACK != null and BACK != '' ">#{BACK},</if>
<if test="Code != null and Code != '' ">#{Code},</if>
<if test="WHOLE != null and WHOLE != '' ">#{WHOLE},</if>
<if test="NOTE != null and NOTE != '' ">#{NOTE},</if>
<if test="REMARK != null and REMARK != '' ">#{REMARK},</if>
<if test="CREATED != null and CREATED != '' ">#{CREATED},</if>
<if test="CREATOR != null and CREATOR != '' ">#{CREATOR},</if>
<if test="CHANGED != null and CHANGED != '' ">#{CHANGED},</if>
<if test="CHANGER != null and CHANGER != '' ">#{CHANGER},</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">#{IS_DELETED}</if>
</trim>
into T_TRAIN_WAGON_INFORMATION
<trim prefix="(GKEY," suffix=")" suffixOverrides=",">
<if test="1 == 1">WAGON_NUMBER,</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">WAGON_TYPE,</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">CHANGE_LENGTH,</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">SELF_WEIGHT,</if>
<if test="LOAD != null and LOAD != '' ">LOAD,</if>
<if test="REMARK != null and REMARK != '' ">REMARK,</if>
<if test="CREATED != null and CREATED != '' ">CREATED,</if>
<if test="CREATOR != null and CREATOR != '' ">CREATOR,</if>
<if test="CHANGED != null and CHANGED != '' ">CHANGED,</if>
<if test="CHANGER != null and CHANGER != '' ">CHANGER,</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">IS_DELETED</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">sys_guid(),
<if test="1 == 1">#{WAGON_NUMBER},</if>
<if test="WAGON_TYPE != null and WAGON_TYPE != '' ">#{WAGON_TYPE},</if>
<if test="CHANGE_LENGTH != null and CHANGE_LENGTH != '' ">#{CHANGE_LENGTH},</if>
<if test="SELF_WEIGHT != null and SELF_WEIGHT != '' ">#{SELF_WEIGHT},</if>
<if test="LOAD != null and LOAD != '' ">#{LOAD},</if>
<if test="REMARK != null and REMARK != '' ">#{REMARK},</if>
<if test="CREATED != null and CREATED != '' ">#{CREATED},</if>
<if test="CREATOR != null and CREATOR != '' ">#{CREATOR},</if>
<if test="CHANGED != null and CHANGED != '' ">#{CHANGED},</if>
<if test="CHANGER != null and CHANGER != '' ">#{CHANGER},</if>
<if test="IS_DELETED != null and IS_DELETED != '' ">#{IS_DELETED}</if>
</trim>