|
|
@@ -28,6 +28,7 @@ import static ${ServiceExceptionUtilClassName}.exception;
|
|
|
import static ${CollectionUtilsClassName}.convertList;
|
|
|
import static ${CollectionUtilsClassName}.diffList;
|
|
|
import static ${basePackage}.module.${table.moduleName}.enums.ErrorCodeConstants.*;
|
|
|
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
|
|
/**
|
|
|
* ${table.classComment} Service 实现类
|
|
|
@@ -36,7 +37,7 @@ import static ${basePackage}.module.${table.moduleName}.enums.ErrorCodeConstants
|
|
|
*/
|
|
|
@Service
|
|
|
@Validated
|
|
|
-public class ${table.className}ServiceImpl implements ${table.className}Service {
|
|
|
+public class ${table.className}ServiceImpl extends ServiceImpl<${table.className}Mapper, ${table.className}DO> implements ${table.className}Service {
|
|
|
|
|
|
@Resource
|
|
|
private ${table.className}Mapper ${classNameVar}Mapper;
|
|
|
@@ -424,4 +425,4 @@ public class ${table.className}ServiceImpl implements ${table.className}Service
|
|
|
#end
|
|
|
|
|
|
#end
|
|
|
-}
|
|
|
+}
|