|
|
|
@@ -5,9 +5,9 @@ import com.simple.domain.po.WxCouponOrder; |
|
|
|
import com.simple.domain.po.WxDateAmountRecord; |
|
|
|
import com.simple.domain.po.WxMall; |
|
|
|
import com.simple.domain.po.WxMerchant; |
|
|
|
import com.simple.enums.EnumDateAmtType; |
|
|
|
import com.simple.mapper.*; |
|
|
|
import com.simple.service.WxDateAmountRecordService; |
|
|
|
import com.simple.utils.*; |
|
|
|
import org.apache.log4j.Logger; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
|
@@ -108,7 +108,7 @@ public class DaliyAmountSchedule { |
|
|
|
dateAmountRecord.setPayPrice(total_price); |
|
|
|
dateAmountRecord.setMerchantId(merchant.getId()); |
|
|
|
dateAmountRecord.setTenantId(merchant.getTenantId()); |
|
|
|
dateAmountRecord.setType(0); |
|
|
|
dateAmountRecord.setType(EnumDateAmtType.PAY_RECORD.getCode()); |
|
|
|
dateAmountRecord.setDate(now); |
|
|
|
dateAmountRecord.setDayOfWeek(cal.get(Calendar.DAY_OF_WEEK)); |
|
|
|
dateAmountRecord.setMonth(cal.get(Calendar.MONTH)); |
|
|
|
@@ -129,7 +129,7 @@ public class DaliyAmountSchedule { |
|
|
|
|
|
|
|
dateAmountRecord.setId(IdWorker.get().nextId()); |
|
|
|
dateAmountRecord.setPayPrice(total_price); |
|
|
|
dateAmountRecord.setType(1); |
|
|
|
dateAmountRecord.setType(EnumDateAmtType.VERIFY_RECORD.getCode()); |
|
|
|
wxDateAmountRecordService.saveDaliyAmount(dateAmountRecord); |
|
|
|
|
|
|
|
} |
|
|
|
|