|
|
@ -77,7 +77,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) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) "; |
|
|
|
"audit_status,create_time,flag) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) "; |
|
|
|
try (PreparedStatement mysqlStmt = mysqlConn.prepareStatement(insertSql)) { |
|
|
|
while (resultSet.next()) { |
|
|
|
int gtype = resultSet.getInt("gtype"); |
|
|
@ -159,6 +159,11 @@ public class MysqlServiceImpl implements MysqlService { |
|
|
|
mysqlStmt.setString(12, remark); |
|
|
|
mysqlStmt.setInt(15, 3); |
|
|
|
mysqlStmt.setTimestamp(16, created_at); |
|
|
|
if(remark.contains("测试")){ |
|
|
|
mysqlStmt.setInt(17, 0); |
|
|
|
}else { |
|
|
|
mysqlStmt.setInt(17, 1); |
|
|
|
} |
|
|
|
|
|
|
|
// 更新时的值 |
|
|
|
mysqlStmt.addBatch(); |
|
|
|