fix manager_id String

master
eason.qian 7 years ago
parent 68b42a4f85
commit dcd9c55f52

@ -235,3 +235,5 @@ CREATE TABLE `sys_wx_merchant_apply` (
alter table statistics_customer_order add column refund_orders int(10) DEFAULT NULL COMMENT '' AFTER `orders`; alter table statistics_customer_order add column refund_orders int(10) DEFAULT NULL COMMENT '' AFTER `orders`;
alter table statistics_customer_order add column refund_amount DECIMAL(20,2) DEFAULT NULL COMMENT '' AFTER `total`; alter table statistics_customer_order add column refund_amount DECIMAL(20,2) DEFAULT NULL COMMENT '' AFTER `total`;
ALTER TABLE `financial_bd_prize_log`
MODIFY COLUMN `manager_id` varchar(50) NOT NULL COMMENT 'bd user id' AFTER `record_id`;

@ -143,7 +143,7 @@ public class BDPrizeServiceImpl implements BDPrizeService {
BigDecimal send_prize = groupPrize; BigDecimal send_prize = groupPrize;
JSONObject prizeLog = new JSONObject(); JSONObject prizeLog = new JSONObject();
prizeLog.put("record_id", record.getString("record_id")); prizeLog.put("record_id", record.getString("record_id"));
prizeLog.put("manager_id", leader.getIntValue("manager_id")); prizeLog.put("manager_id", leader.getString("manager_id"));
prizeLog.put("bd_name", leader.getString("display_name")); prizeLog.put("bd_name", leader.getString("display_name"));
prizeLog.put("bd_level", 0); prizeLog.put("bd_level", 0);
prizeLog.put("total_amount", groupAmount); prizeLog.put("total_amount", groupAmount);

Loading…
Cancel
Save