review code.
This commit is contained in:
@@ -68,7 +68,7 @@ public interface FileClient {
|
||||
// TODO getOutputStream
|
||||
|
||||
/**
|
||||
* 检测文件是否存在
|
||||
* 检查文件是否存在
|
||||
*
|
||||
* @param path path
|
||||
* @return 是否存在
|
||||
|
||||
@@ -87,7 +87,7 @@ public class FileClientUtils {
|
||||
// TODO getOutputStream
|
||||
|
||||
/**
|
||||
* 检测文件是否存在
|
||||
* 检查文件是否存在
|
||||
*
|
||||
* @param path path
|
||||
* @return 是否存在
|
||||
|
||||
@@ -34,7 +34,7 @@ public class ValidateLambdaWrapper<T> extends LambdaQueryWrapper<T> {
|
||||
*/
|
||||
private boolean isIllegal(Object... objects) {
|
||||
for (Object object : objects) {
|
||||
// 非 null 检测
|
||||
// 非 null 检查
|
||||
if (object == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ public class LocalFileClient extends AbstractFileClient<LocalFileClientConfig> {
|
||||
protected String doUpload(String path, InputStream in, boolean autoClose, boolean overrideIfExist) {
|
||||
// 获取返回文件路径
|
||||
String returnPath = this.getReturnPath(path);
|
||||
// 检测文件是否存在
|
||||
// 检查文件是否存在
|
||||
if (!overrideIfExist && this.isExists(returnPath)) {
|
||||
return returnPath;
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@ public class ${table.serviceImplName} implements ${table.serviceName} {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测对象是否存在
|
||||
* 检查对象是否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
|
||||
@@ -19,13 +19,12 @@
|
||||
@added="() => table.addedCallback()"
|
||||
@updated="() => table.updatedCallback()" />
|
||||
#end
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: '${vue.module}-${vue.feature}'
|
||||
name: '${vue.moduleEntityFirstLower}${vue.featureEntity}'
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ public class HostServiceImpl implements HostService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测 name 是否存在
|
||||
* 检查 name 是否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
@@ -189,7 +189,7 @@ public class HostServiceImpl implements HostService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测 code 是否存在
|
||||
* 检查 code 是否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
|
||||
@@ -172,7 +172,7 @@ public class SystemRoleServiceImpl implements SystemRoleService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测名称是否存在
|
||||
* 检查名称是否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
@@ -188,7 +188,7 @@ public class SystemRoleServiceImpl implements SystemRoleService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测编码是否存在
|
||||
* 检查编码是否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
|
||||
@@ -201,7 +201,7 @@ public class SystemUserServiceImpl implements SystemUserService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测用户名否存在
|
||||
* 检查用户名否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
@@ -217,7 +217,7 @@ public class SystemUserServiceImpl implements SystemUserService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测花名是否存在
|
||||
* 检查花名是否存在
|
||||
*
|
||||
* @param domain domain
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user