Compare commits

..

No commits in common. "6d81160d3045a0d320851b70045e41d50749174d" and "cd68bf0be8a1e67d93043e8cc387a08a7a0f014d" have entirely different histories.

5 changed files with 6 additions and 5 deletions

View File

@ -46,7 +46,7 @@ public class WxPayNotifyController {
private StoreOrderService storeOrderService; private StoreOrderService storeOrderService;
@Autowired @Autowired
private RechargeOrderMapper rechargeOrderMapper; private RechargeOrderMapper rechargeOrderMapper;
@Autowired
private PhoneRecordService phoneRecordService; private PhoneRecordService phoneRecordService;

View File

@ -317,6 +317,7 @@ public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> i
list.add(tree); list.add(tree);
} }
} }
log.info("无限极分类 : getTree:" + JsonUtils.toJsonString(list));
return list; return list;
} }

View File

@ -325,13 +325,13 @@ public class OrderServiceImpl implements OrderService {
@Override @Override
public OrderDataResponse orderData(String dateLimit, Integer type, String payType) { public OrderDataResponse orderData(String dateLimit, Integer type, String payType) {
OrderDataResponse response = new OrderDataResponse(); OrderDataResponse response = new OrderDataResponse();
if (type!=null && type==2) { if (type.equals(2)) {
type = null; type = null;
} }
// 已完成订单数量 // 已完成订单数量
response.setCompleteCount(getCount(dateLimit, Constants.ORDER_STATUS_COMPLETE, type)); response.setCompleteCount(getCount(dateLimit, Constants.ORDER_STATUS_COMPLETE, type));
// 待核销订单数量 // 待核销订单数量
// response.setEvaluatedCount(getCount(dateLimit, Constants.ORDER_STATUS_STR_TOBE_WRITTEN_OFF, type)); response.setEvaluatedCount(getCount(dateLimit, Constants.ORDER_STATUS_STR_TOBE_WRITTEN_OFF, type));
// 支付订单总数 // 支付订单总数
response.setOrderCount(getCount(dateLimit, Constants.ORDER_STATUS_ALL, type)); response.setOrderCount(getCount(dateLimit, Constants.ORDER_STATUS_ALL, type));
// 待收货订单数量 // 待收货订单数量

View File

@ -1275,7 +1275,7 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
phoneRecordAdd.setMoney(info.getPrice()); phoneRecordAdd.setMoney(info.getPrice());
phoneRecordAdd.setOrderNo(orderDO.getOrderId()); phoneRecordAdd.setOrderNo(orderDO.getOrderId());
phoneRecordAdd.setOrderTime(LocalDateTimeUtil.formatNormal(orderDO.getPayTime().toLocalDate())); phoneRecordAdd.setOrderTime(LocalDateTimeUtil.formatNormal(orderDO.getPayTime().toLocalDate()));
phoneRecordAdd.setGear(rechargeGearDO.getRefundAmount().intValue()+""); phoneRecordAdd.setGear(rechargeGearDO.getRefundAmount().toString());
phoneRecordAdds.add(phoneRecordAdd); phoneRecordAdds.add(phoneRecordAdd);
recordDOS.add(phoneRecordDO); recordDOS.add(phoneRecordDO);
}); });

View File

@ -255,5 +255,5 @@ justauth:
timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟 timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟
phone: phone:
query-url: http://phone.cyywl.top/cyywl-phone-query-api/ query-url: http://192.168.1.189:4006/cyywl-phone-query-api/
token: eyIwLnR5cCI6IkpXVCIsImFsZyI6IkhTNTEyIn0 token: eyIwLnR5cCI6IkpXVCIsImFsZyI6IkhTNTEyIn0