mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善代码生成
This commit is contained in:
@@ -32,6 +32,7 @@ import org.springframework.data.domain.PageRequest;
|
||||
import org.springframework.data.domain.Sort;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@@ -154,6 +155,7 @@ public class Codegen {
|
||||
.addModifiers(Modifier.PUBLIC)
|
||||
.addAnnotation(Service.class)
|
||||
.addAnnotation(Slf4j.class)
|
||||
.addAnnotation(Transactional.class)
|
||||
.superclass(
|
||||
ParameterizedTypeName.get(
|
||||
ClassName.get(BaseService.class),
|
||||
|
||||
Reference in New Issue
Block a user