Browse Source

新增部门主管优化其它代码

hubin 1 year ago
parent
commit
a4318ad070

+ 0 - 2
aizuda-service-parent/src/main/java/com/aizuda/service/interceptor/PerformanceInterceptor.java

@@ -176,7 +176,6 @@ public class PerformanceInterceptor implements Interceptor {
      * 获取sql语句开头部分
      *
      * @param sql
-     * @return
      */
     private int indexOfSqlStart(String sql) {
         String upperCaseSql = sql.toUpperCase();
@@ -201,7 +200,6 @@ public class PerformanceInterceptor implements Interceptor {
      *
      * @param boundSql
      * @param format
-     * @return
      */
     public static String sqlFormat(String boundSql, boolean format) {
         if (format) {

+ 0 - 1
aizuda-service-parent/src/main/java/com/aizuda/service/log/IOplogStorageProvider.java

@@ -22,7 +22,6 @@ public interface IOplogStorageProvider {
      *
      * @param signature {@link Signature}
      * @param oplog     操作日志
-     * @return
      */
     void save(Signature signature, Oplog oplog);
 }

+ 0 - 8
aizuda-service-parent/src/main/java/com/aizuda/service/log/Oplog.java

@@ -101,7 +101,6 @@ public class Oplog implements BeanConvert {
      * 设置服务名称
      *
      * @param service 服务
-     * @return
      */
     public Oplog service(String service) {
         this.service = service;
@@ -112,7 +111,6 @@ public class Oplog implements BeanConvert {
      * 设置操作模块
      *
      * @param module 操作模块
-     * @return
      */
     public Oplog module(String module) {
         this.module = module;
@@ -123,7 +121,6 @@ public class Oplog implements BeanConvert {
      * 设置操作业务
      *
      * @param business 操作业务
-     * @return
      */
     public Oplog business(String business) {
         this.business = business;
@@ -134,7 +131,6 @@ public class Oplog implements BeanConvert {
      * 设置内容详情
      *
      * @param content 内容详情
-     * @return
      */
     public Oplog content(String content) {
         this.content = content;
@@ -145,7 +141,6 @@ public class Oplog implements BeanConvert {
      * 设置审计信息
      *
      * @param userSession 登录用户信息
-     * @return
      */
     public Oplog audit(UserSession userSession) {
         if (null != userSession) {
@@ -159,7 +154,6 @@ public class Oplog implements BeanConvert {
      * 设置业务状态 true 成功 false 失败
      *
      * @param success 业务状态
-     * @return
      */
     public Oplog status(boolean success) {
         this.type = (success ? 0 : 1);
@@ -177,7 +171,6 @@ public class Oplog implements BeanConvert {
      * 设置异常信息
      *
      * @param exception 异常详情
-     * @return
      */
     public Oplog exception(String exception) {
         this.content = exception;
@@ -191,7 +184,6 @@ public class Oplog implements BeanConvert {
      * @param signature {@link Signature}
      * @param request   {@link HttpServletRequest}
      * @param args      请求参数
-     * @return
      */
     public Oplog around(Signature signature, HttpServletRequest request, Object[] args) {
         if (null == this.createId) {

+ 0 - 1
aizuda-service-parent/src/main/java/com/aizuda/service/log/OplogContext.java

@@ -22,7 +22,6 @@ public class OplogContext {
     /**
      * 构建操作日志上下文对象
      *
-     * @return
      */
     public static Oplog builder() {
         Oplog oplog = OPLOG_HOLDER.get();

+ 0 - 1
aizuda-service-parent/src/main/java/com/aizuda/service/log/OplogStorageSpringDocProvider.java

@@ -26,7 +26,6 @@ public abstract class OplogStorageSpringDocProvider implements IOplogStorageProv
      *
      * @param signature {@link Signature}
      * @param oplog     操作日志
-     * @return
      */
     @Override
     public void save(Signature signature, Oplog oplog) {

+ 0 - 1
aizuda-service-parent/src/main/java/com/aizuda/service/spring/SpringHelper.java

@@ -57,7 +57,6 @@ public class SpringHelper {
      *
      * @param clazz
      * @param <T>
-     * @return
      */
     public static <T> T getBean(Class<T> clazz) {
         return getApplicationContext().getBean(clazz);

+ 0 - 1
aizuda-service-parent/src/main/java/com/aizuda/service/web/UserSession.java

@@ -76,7 +76,6 @@ public class UserSession {
      * 判断是否为管理员
      *
      * @param id 用户ID
-     * @return
      */
     public static boolean isAdmin(Long id) {
         return Objects.equals(0L, id);