xhxu 5 лет назад
Родитель
Сommit
8ebdc943ef
4 измененных файлов: 7 добавлений и 4 удалений
  1. +3
    -0
      mallinkService/src/main/resources/mapper/TtCouponMapper.xml
  2. +0
    -2
      mallinkTTAdmin/src/main/java/com/iformall/TTAdminApplication.java
  3. +4
    -1
      mallinkTTAdmin/src/main/java/com/iformall/schedule/TtOrderExpiringSchedule.java
  4. +0
    -1
      mallinkTTCApi/src/main/java/com/iformall/TTCApplication.java

+ 3
- 0
mallinkService/src/main/resources/mapper/TtCouponMapper.xml Просмотреть файл

@@ -129,6 +129,9 @@
<if test=" null != merchantId ">
and c.`merchant_id` = #{merchantId}
</if>
<if test=" null != merchantName and ''!=merchantName">
and m.`name` like concat('%', #{merchantName},'%')
</if>

<if test=" null != ids ">
and c.id in


+ 0
- 2
mallinkTTAdmin/src/main/java/com/iformall/TTAdminApplication.java Просмотреть файл

@@ -8,7 +8,6 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
@@ -21,7 +20,6 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableEncryptableProperties
@EnableAsync
@EnableRocketMQ
@EnableScheduling
public class TTAdminApplication {

@Value("${fm.exception}")


+ 4
- 1
mallinkTTAdmin/src/main/java/com/iformall/schedule/TtOrderExpiringSchedule.java Просмотреть файл

@@ -13,6 +13,8 @@ import com.iformall.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@@ -21,7 +23,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Component
@Configuration
@EnableScheduling
public class TtOrderExpiringSchedule {

private final Logger logger = LoggerFactory.getLogger(this.getClass());


+ 0
- 1
mallinkTTCApi/src/main/java/com/iformall/TTCApplication.java Просмотреть файл

@@ -9,7 +9,6 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
* @author chenkx


Загрузка…
Отмена
Сохранить