Commit 12d6bd1e by huluobin

# 更新

parent 9f94847e
...@@ -4,11 +4,12 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; ...@@ -4,11 +4,12 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gogirl.application.common.xcx.IScheduleLogService; import com.gogirl.application.common.xcx.IScheduleLogService;
import com.gogirl.domain.common.sys.ScheduleLog; import com.gogirl.domain.common.sys.ScheduleLog;
import com.gogirl.infrastructure.mapper.common.xcx.ScheduleLogMapper; import com.gogirl.infrastructure.mapper.common.xcx.ScheduleLogMapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
/** /**
* <p> * <p>
* 服务实现类 * 服务实现类
* </p> * </p>
* *
* @author robbendev * @author robbendev
......
...@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Configuration;
@EnableConfigurationProperties(WxPayProperties.class) @EnableConfigurationProperties(WxPayProperties.class)
public class WxPayConfiguration { public class WxPayConfiguration {
private WxPayProperties properties; private final WxPayProperties properties;
@Autowired @Autowired
public WxPayConfiguration(WxPayProperties properties) { public WxPayConfiguration(WxPayProperties properties) {
......
...@@ -2,6 +2,7 @@ package com.gogirl.infrastructure.common.config.property; ...@@ -2,6 +2,7 @@ package com.gogirl.infrastructure.common.config.property;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
/** /**
...@@ -9,6 +10,7 @@ import org.springframework.stereotype.Component; ...@@ -9,6 +10,7 @@ import org.springframework.stereotype.Component;
* *
* @author Binary Wang * @author Binary Wang
*/ */
@Primary
@Component @Component
@Data @Data
@ConfigurationProperties(prefix = "wx.pay") @ConfigurationProperties(prefix = "wx.pay")
......
...@@ -46,7 +46,7 @@ public class CustomerBalanceServiceImplTest { ...@@ -46,7 +46,7 @@ public class CustomerBalanceServiceImplTest {
@org.junit.Test @org.junit.Test
public void order() { public void order() {
List<OrderManage> orderManageList = orderManageMapper.selectList(new LambdaQueryWrapper<OrderManage>() List<OrderManage> orderManageList = orderManageMapper.selectList(new LambdaQueryWrapper<OrderManage>()
.in(OrderManage::getOrderNo, Lists.newArrayList("TYD-GZJ-JQW-210228-0034"))); .in(OrderManage::getOrderNo, Lists.newArrayList("BTD-GFL-ZJH-210309-0009")));
orderManageList.forEach(orderManage -> { orderManageList.forEach(orderManage -> {
if (orderManage.getStatus().equals(2)) { if (orderManage.getStatus().equals(2)) {
orderManage.setStatus(11); orderManage.setStatus(11);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment