review code.

This commit is contained in:
lijiahang
2023-09-21 11:30:50 +08:00
parent 6c8ccb3864
commit fbc40116f0
9 changed files with 12 additions and 13 deletions

View File

@@ -68,7 +68,7 @@ public interface FileClient {
// TODO getOutputStream // TODO getOutputStream
/** /**
* 检文件是否存在 * 检文件是否存在
* *
* @param path path * @param path path
* @return 是否存在 * @return 是否存在

View File

@@ -87,7 +87,7 @@ public class FileClientUtils {
// TODO getOutputStream // TODO getOutputStream
/** /**
* 检文件是否存在 * 检文件是否存在
* *
* @param path path * @param path path
* @return 是否存在 * @return 是否存在

View File

@@ -34,7 +34,7 @@ public class ValidateLambdaWrapper<T> extends LambdaQueryWrapper<T> {
*/ */
private boolean isIllegal(Object... objects) { private boolean isIllegal(Object... objects) {
for (Object object : objects) { for (Object object : objects) {
// 非 null 检 // 非 null 检
if (object == null) { if (object == null) {
return true; return true;
} }

View File

@@ -24,7 +24,7 @@ public class LocalFileClient extends AbstractFileClient<LocalFileClientConfig> {
protected String doUpload(String path, InputStream in, boolean autoClose, boolean overrideIfExist) { protected String doUpload(String path, InputStream in, boolean autoClose, boolean overrideIfExist) {
// 获取返回文件路径 // 获取返回文件路径
String returnPath = this.getReturnPath(path); String returnPath = this.getReturnPath(path);
// 检文件是否存在 // 检文件是否存在
if (!overrideIfExist && this.isExists(returnPath)) { if (!overrideIfExist && this.isExists(returnPath)) {
return returnPath; return returnPath;
} }

View File

@@ -174,7 +174,7 @@ public class ${table.serviceImplName} implements ${table.serviceName} {
} }
/** /**
* 检对象是否存在 * 检对象是否存在
* *
* @param domain domain * @param domain domain
*/ */

View File

@@ -19,13 +19,12 @@
@added="() => table.addedCallback()" @added="() => table.addedCallback()"
@updated="() => table.updatedCallback()" /> @updated="() => table.updatedCallback()" />
#end #end
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
export default { export default {
name: '${vue.module}-${vue.feature}' name: '${vue.moduleEntityFirstLower}${vue.featureEntity}'
}; };
</script> </script>

View File

@@ -173,7 +173,7 @@ public class HostServiceImpl implements HostService {
} }
/** /**
* 检 name 是否存在 * 检 name 是否存在
* *
* @param domain domain * @param domain domain
*/ */
@@ -189,7 +189,7 @@ public class HostServiceImpl implements HostService {
} }
/** /**
* 检 code 是否存在 * 检 code 是否存在
* *
* @param domain domain * @param domain domain
*/ */

View File

@@ -172,7 +172,7 @@ public class SystemRoleServiceImpl implements SystemRoleService {
} }
/** /**
* 检名称是否存在 * 检名称是否存在
* *
* @param domain domain * @param domain domain
*/ */
@@ -188,7 +188,7 @@ public class SystemRoleServiceImpl implements SystemRoleService {
} }
/** /**
* 检编码是否存在 * 检编码是否存在
* *
* @param domain domain * @param domain domain
*/ */

View File

@@ -201,7 +201,7 @@ public class SystemUserServiceImpl implements SystemUserService {
} }
/** /**
* 检用户名否存在 * 检用户名否存在
* *
* @param domain domain * @param domain domain
*/ */
@@ -217,7 +217,7 @@ public class SystemUserServiceImpl implements SystemUserService {
} }
/** /**
* 检花名是否存在 * 检花名是否存在
* *
* @param domain domain * @param domain domain
*/ */