|
@@ -287,15 +287,18 @@ public class IncomeManageServiceImpl extends ServiceImpl<StoreIncomeDetailsRecor
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// 5. 创建提现记录(待审核状态)
|
|
// 5. 创建提现记录(待审核状态)
|
|
|
- // Web端采用人工审核模式,不直接调用支付宝接口
|
|
|
|
|
|
|
+ //增加提现申请记录
|
|
|
StoreCashOutRecord storeCashOutRecord = new StoreCashOutRecord();
|
|
StoreCashOutRecord storeCashOutRecord = new StoreCashOutRecord();
|
|
|
storeCashOutRecord.setStoreId(storeId);
|
|
storeCashOutRecord.setStoreId(storeId);
|
|
|
storeCashOutRecord.setMoney(withdrawalMoney);
|
|
storeCashOutRecord.setMoney(withdrawalMoney);
|
|
|
|
|
+// storeCashOutRecord.setCommission(commission);
|
|
|
storeCashOutRecord.setCashOutType(0);
|
|
storeCashOutRecord.setCashOutType(0);
|
|
|
- storeCashOutRecord.setPaymentStatus(1); // 1-待审核
|
|
|
|
|
|
|
+ storeCashOutRecord.setPaymentStatus(3);
|
|
|
storeCashOutRecord.setDeleteFlag(0);
|
|
storeCashOutRecord.setDeleteFlag(0);
|
|
|
|
|
+ storeCashOutRecord.setIncomeStartTime(new Date());
|
|
|
|
|
+ storeCashOutRecord.setIncomeEndTime(new Date());
|
|
|
storeCashOutRecord.setStoreUserId(storeUser.getId());
|
|
storeCashOutRecord.setStoreUserId(storeUser.getId());
|
|
|
- storeCashOutRecord.setPayDate(new Date());
|
|
|
|
|
|
|
+ storeCashOutRecordMapper.insert(storeCashOutRecord);
|
|
|
|
|
|
|
|
// 插入提现记录
|
|
// 插入提现记录
|
|
|
int insertResult = storeCashOutRecordMapper.insert(storeCashOutRecord);
|
|
int insertResult = storeCashOutRecordMapper.insert(storeCashOutRecord);
|