调整mapper扫描方式,增加请求信息打印
This commit is contained in:
@@ -20,11 +20,10 @@ import org.springframework.web.client.RestTemplate;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
@EntityScan(basePackageClasses = {Shell.class})
|
||||
@MapperScan(basePackageClasses ={Shell.class} )
|
||||
@ComponentScan(basePackageClasses ={Shell.class})
|
||||
@EnableAspectJAutoProxy(proxyTargetClass = true)
|
||||
//@EntityScan(basePackageClasses = {Shell.class})
|
||||
//@EnableAspectJAutoProxy(proxyTargetClass = true)
|
||||
@Slf4j
|
||||
@MapperScan({"com.chaozhanggui.system.cashierservice.mybatis", "com.chaozhanggui.system.cashierservice.mapper", "com.chaozhanggui.system.cashierservice.dao"})
|
||||
public class Shell {
|
||||
|
||||
private static Logger logger = LoggerFactory.getLogger(Shell.class);
|
||||
|
||||
Reference in New Issue
Block a user