id,node_name, g_id,parent_id, ins_t,upd_t,ins_p, upd_p,data_start UPDATE EPC_COST_TYPE_TEMPLATE node_name = #{nodeName}, where id = #{id} update EPC_COST_FROM_TEMPLATE set ct_id = #{autoId} where id = #{oldId} INSERT INTO EPC_COST_TYPE_TEMPLATE ( codeId, node_name, parent_id, g_id ) VALUE ( #{lt.codeId}, #{lt.nodeName}, #{lt.parentId}, #{gId} ) DELETE FROM EPC_COST_TYPE_TEMPLATE WHERE g_id = #{gId} update epc_cost_supp_stander_template set ct_id = #{ct_id} where id = #{allowancesId} and cg_id = #{cg_id} and data_start = 0