idea注解参数换行时间日期格式设置
idea注解参数换行时间日期格式设置
/** * @param financeMainParse * @param request * @param response * @param model * @return * @Description * @author Liruilong * @date 2020年04月08日 14:04:50 **/ @PostMapping("/mainProjectAddUpdate") @ResponseBody public int mainProjectAddUpdate(FinanceMainParse financeMainParse, HttpServletRequest request, HttpServletResponse response, Model model) { User user = (User) request.getSession().getAttribute(Const.USER_INFO); if (user == null) { return 0; } financeMainParse.setAcct_id(user.getAcct_id()); financeMainParse.setCreate_by(user.getNick_name()); // financeMainParse.setAcct_id("20"); // financeMainParse.setCreate_by("张三"); int msg = projectService.saveMainProject(financeMainParse); return msg; }
*$param$
* @return
* @Description
* @author Liruilong
* @date $date$ $time$
**/
groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {result+='\\n * @param ' + params[i]}; return result", methodParameters())
加油,愿被这世界温柔以待 ^_^