Insert Into GOODS_TEMPLATE_LIST (
goods_template_id,
goods_id,
goods_template_quantity,
goods_template_remark
)Values(
#GOODS_TEMPLATE_ID#,
#GOODS_ID#,
#GOODS_TEMPLATE_QUANTITY#,
#GOODS_TEMPLATE_REMARK#
)
select @@IDENTITY as value
Update GOODS_TEMPLATE_LIST Set
goods_template_id=#GOODS_TEMPLATE_ID#,
goods_id=#GOODS_ID#,
goods_template_quantity=#GOODS_TEMPLATE_QUANTITY#,
goods_template_remark=#GOODS_TEMPLATE_REMARK#
goods_template_list_id=#GOODS_TEMPLATE_LIST_ID#
Delete From GOODS_TEMPLATE_LIST
goods_template_list_id=#GOODS_TEMPLATE_LIST_ID#