| | |
| | | * @param response |
| | | */ |
| | | @GetMapping("export-task") |
| | | public void exportTask(@ApiIgnore @RequestParam TaskqdVO task, HttpServletResponse response) { |
| | | public void exportTask(TaskqdVO task, HttpServletResponse response) { |
| | | List<TaskExcel> list = taskqdService.exportTask(task); |
| | | ExcelUtil.export(response, "任务数据" + DateUtil.time(), "任务数据表", list, TaskExcel.class); |
| | | } |
| | |
| | | <if test="task.tasktype!=null and task.tasktype!=''"> |
| | | and st.tasktype = #{task.tasktype} |
| | | </if> |
| | | <if test="task.rtype!=null and task.rtype!=''"> |
| | | <if test="task.rtype!=null and task.rtype!='' and task.rtype!='undefined'"> |
| | | and st.rtype = #{task.rtype} |
| | | </if> |
| | | <if test="task.rname!=null and task.rname!=''"> |
| | | <if test="task.rname!=null and task.rname!='' and task.rname!='undefined'"> |
| | | and st.rname like concat('%',#{task.rname},'%') |
| | | </if> |
| | | <if test="task.jurisdiction!=null and task.jurisdiction!=''"> |
| | | <if test="task.jurisdiction!=null and task.jurisdiction!='' and task.jurisdiction!='undefined'"> |
| | | and st.jurisdiction = #{task.jurisdiction} |
| | | </if> |
| | | </select> |
| | |
| | | # username: root |
| | | # password: ZHba@0112 |
| | | |
| | | url: jdbc:mysql://106.225.193.35:3306/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true |
| | | url: jdbc:mysql://127.0.0.1:3306/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true |
| | | username: root |
| | | password: HCyj@2022 |
| | | |