|
|
@ -76,7 +76,7 @@ public class MysqlServiceImpl implements MysqlService { |
|
|
|
//退款类型 61:ERP退款(退金币) |
|
|
|
String insertSql = "INSERT INTO user_gold_record (order_code,jwcode,sum_gold,permanent_gold,free_june,free_december," + |
|
|
|
"task_gold,pay_platform,goods_name,refund_type,refund_model,remark,type,admin_id," + |
|
|
|
"audit_status,create_time,flag) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) "; |
|
|
|
"audit_status,create_time,flag,update_time) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) "; |
|
|
|
try (PreparedStatement mysqlStmt = mysqlConn.prepareStatement(insertSql)) { |
|
|
|
while (resultSet.next()) { |
|
|
|
int gtype = resultSet.getInt("gtype"); |
|
|
@ -167,6 +167,7 @@ public class MysqlServiceImpl implements MysqlService { |
|
|
|
}else { |
|
|
|
mysqlStmt.setInt(17, 1); |
|
|
|
} |
|
|
|
mysqlStmt.setTimestamp(18, created_at); |
|
|
|
|
|
|
|
// 更新时的值 |
|
|
|
mysqlStmt.addBatch(); |
|
|
|