调整mapper扫描方式,增加请求信息打印

This commit is contained in:
2024-09-20 15:51:59 +08:00
parent fa94b0b1bf
commit 753f3d9d8b
48 changed files with 77 additions and 520 deletions

View File

@@ -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);