数据库插入修复:更新插入语句中的数据库引用
修正新记录插入过程中的数据库引用错误。将错误的数据库'pay_ment_param'修正为正确的数据库'text',以确保数据插入到预期的数据库表中。master
parent
7df5e777bd
commit
5fd898b83d
|
@ -260,7 +260,7 @@
|
||||||
|
|
||||||
|
|
||||||
<insert id="addRecords">
|
<insert id="addRecords">
|
||||||
INSERT INTO `three-groups`.`pay_ment_param` (`out_trade_no`, `total_amount`, `create_time`, `product_code`)
|
INSERT INTO `text`.`pay_ment_param` (`out_trade_no`, `total_amount`, `create_time`, `product_code`)
|
||||||
VALUES (#{outTradeNo}, #{totalAmount}, now(), #{productCode});
|
VALUES (#{outTradeNo}, #{totalAmount}, now(), #{productCode});
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue