Commit 6237ddb3 by 若依

!60 SysJobMapper.deleteJobById改为通过ID删除及修改注释与方法参数对应

Merge pull request !60 from ziry/master
parents d30dc35e 8643dde0
......@@ -20,5 +20,5 @@ Spring Boot Version: ${spring-boot.version}
// ========`-.____`-.___\_____/___.-`____.-'======== //
// `=---=' //
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// 佛祖保佑 永不宕机 永无BUG //
// 佛祖保佑 永不宕机 永无BUG //
////////////////////////////////////////////////////////////////////
\ No newline at end of file
......@@ -290,7 +290,7 @@ public class Convert
/**
* 转换为Integer数组<br>
*
* @param split 被转换的值
* @param str 被转换的值
* @return 结果
*/
public static Integer[] toIntArray(String str)
......@@ -301,7 +301,7 @@ public class Convert
/**
* 转换为Long数组<br>
*
* @param split 被转换的值
* @param str 被转换的值
* @return 结果
*/
public static Long[] toLongArray(String str)
......@@ -335,8 +335,8 @@ public class Convert
/**
* 转换为Long数组<br>
*
* @param isIgnoreConvertError 是否忽略转换错误,忽略则给值null
* @param values 被转换的值
* @param split 分隔符
* @param str 被转换的值
* @return 结果
*/
public static Long[] toLongArray(String split, String str)
......@@ -358,7 +358,7 @@ public class Convert
/**
* 转换为String数组<br>
*
* @param split 被转换的值
* @param str 被转换的值
* @return 结果
*/
public static String[] toStrArray(String str)
......
......@@ -10,10 +10,10 @@ import java.math.BigDecimal;
public class Arith
{
// 默认除法运算精度
/** 默认除法运算精度 */
private static final int DEF_DIV_SCALE = 10;
// 这个类不能实例化
/** 这个类不能实例化 */
private Arith()
{
}
......
......@@ -85,7 +85,7 @@ public class IpUtils
/**
* 将IPv4地址转换成字节
*
* @param IPv4地址
* @param text IPv4地址
* @return byte 字节
*/
public static byte[] textToNumericFormatV4(String text)
......
......@@ -16,7 +16,8 @@ public class FileUtils
/**
* 输出指定文件的byte数组
*
* @param filename 文件
* @param filePath 文件路径
* @param os 输出流
* @return
*/
public static void writeBytes(String filePath, OutputStream os) throws IOException
......
......@@ -73,9 +73,9 @@ public class DataScopeAspect
/**
* 数据范围过滤
*
* @param da 部门表别名
* @return 标准连接条件对象
* @param joinPoint 切点
* @param user 用户
* @param alias 别名
*/
public static void dataScopeFilter(JoinPoint joinPoint, SysUser user, String alias)
{
......
......@@ -121,8 +121,8 @@ public class LogAspect
/**
* 获取注解中对方法的描述信息 用于Controller层注解
*
* @param joinPoint 切点
* @return 方法描述
* @param log 日志
* @param operLog 操作日志
* @throws Exception
*/
public void getControllerMethodDescription(Log log, SysOperLog operLog) throws Exception
......
......@@ -35,7 +35,7 @@ public class AsyncManager
/**
* 执行任务
*
* @param 任务task
* @param task 任务
*/
public void execute(TimerTask task)
{
......
......@@ -91,7 +91,6 @@ public class FileUploadUtils
*
* @param baseDir 相对应用的基目录
* @param file 上传的文件
* @param needDatePathAndRandomName 是否需要日期目录和随机文件名前缀
* @param extension 上传文件类型
* @return 返回上传成功的文件名
* @throws FileSizeLimitExceededException 如果超出最大大小
......
......@@ -13,7 +13,7 @@ public class PermissionUtils
/**
* 权限错误消息提醒
*
* @param errorMsg 错误信息
* @param permissionsStr 错误信息
* @return
*/
public static String getMsg(String permissionsStr)
......
......@@ -39,7 +39,7 @@ public interface SysJobMapper
* @param jobId 调度ID
* @return 结果
*/
public int deleteJobById(SysJob job);
public int deleteJobById(Long jobId);
/**
* 批量删除调度任务信息
......
......@@ -116,7 +116,7 @@ public class SysJobServiceImpl implements ISysJobService
@Override
public int deleteJob(SysJob job)
{
int rows = jobMapper.deleteJobById(job);
int rows = jobMapper.deleteJobById(job.getJobId());
if (rows > 0)
{
ScheduleUtils.deleteScheduleJob(scheduler, job.getJobId());
......
......@@ -13,7 +13,7 @@ public interface SysUserMapper
/**
* 根据条件分页查询用户对象
*
* @param user 用户信息
* @param sysUser 用户信息
* @return 用户信息集合信息
*/
public List<SysUser> selectUserList(SysUser sysUser);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment