数据库插入修复:更新插入语句中的数据库引用
修正新记录插入过程中的数据库引用错误。将错误的数据库'pay_ment_param'修正为正确的数据库'text',以确保数据插入到预期的数据库表中。master
parent
5fd898b83d
commit
60056f4ddc
|
@ -4,14 +4,14 @@
|
|||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.muyu.system.mapper.BuyMapper">
|
||||
<insert id="addConnectorUser">
|
||||
INSERT INTO `three-groups`.`connector_user`
|
||||
INSERT INTO `text`.`connector_user`
|
||||
(`connector_user_id`, `user_id`, `connector_id`, `connector_residue_degree`, `connector_frequency`)
|
||||
VALUES (0,#{userId}, #{connectorId}, 0, 0)
|
||||
|
||||
</insert>
|
||||
|
||||
<insert id="insertPurchaseRecord">
|
||||
INSERT INTO `three-groups`.`connect_log` ( `data_name`, `amount`, `create_time`)
|
||||
INSERT INTO `text`.`connect_log` ( `data_name`, `amount`, `create_time`)
|
||||
VALUES (#{dataName}, #{amount}, now());
|
||||
</insert>
|
||||
|
||||
|
|
Loading…
Reference in New Issue