From be8ee644a75d3bff49c7bdbcc2a0afe426d2f42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sat, 28 Jun 2025 16:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SmzSspProblemmodifyDraftMapper.xml | 29 +- .../trouble/SmzSspProblemmodifyMapper.xml | 58 +- .../controller/GreenCarbonDataController.java | 4 +- .../controller/GreenCarbonItemController.java | 8 +- .../controller/ProCostOutputController.java | 2 +- .../SmzSspProblemmodifyController.java | 5 +- .../SmzSspProblemmodifyDraftController.java | 9 + yanzhu-ui-app/miniprogram/config.js | 2 +- .../project_problemmodify/list/index.js | 2 +- .../trouble/problemmodify/detailDrawer.vue | 28 +- .../src/views/trouble/problemmodify/index.vue | 40 +- .../trouble/problemmodifyDraft/index.vue | 110 ++-- .../problemmodifyDraftQuality/index.vue | 606 ++++++++++++++++++ .../problemmodifyQuality/detailDrawer.vue | 453 +++++++++++++ .../trouble/problemmodifyQuality/index.vue | 270 ++++++++ yanzhu-ui-vue3/vite.config.js | 4 +- 16 files changed, 1488 insertions(+), 142 deletions(-) create mode 100644 yanzhu-ui-vue3/src/views/trouble/problemmodifyDraftQuality/index.vue create mode 100644 yanzhu-ui-vue3/src/views/trouble/problemmodifyQuality/detailDrawer.vue create mode 100644 yanzhu-ui-vue3/src/views/trouble/problemmodifyQuality/index.vue diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyDraftMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyDraftMapper.xml index a8a8ef82..68f2207c 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyDraftMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyDraftMapper.xml @@ -50,35 +50,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and comId = #{comId} and projectId = #{projectId} and infoType = #{infoType} - and marks_picture = #{marksPicture} - and marks_video = #{marksVideo} - and problemArea = #{problemArea} - and workParts = #{workParts} - and changeInfo = #{changeInfo} - and lordSent = #{lordSent} - and lordSentUser = #{lordSentUser} - and copySend = #{copySend} - and copySendUser = #{copySendUser} - and checkState = #{checkState} - and nickedArea = #{nickedArea} - and nickedTime = #{nickedTime} - and projectType = #{projectType} - and processName like concat('%', #{processName}, '%') - and projectName like concat('%', #{projectName}, '%') - and nickedInfo = #{nickedInfo} - and checkUser = #{checkUser} - and checkUserPhone = #{checkUserPhone} - and smark_url = #{smarkUrl} - and isDel = #{isDel} - and createUser = #{createUser} - and createTime = #{createTime} - and updateUser = #{updateUser} - and updateTime = #{updateTime} - and danger_type = #{dangerType} - and recheckSend = #{recheckSend} - and recheckSendUser = #{recheckSendUser} - and roleType = #{roleType} and problemType = #{problemType} + and date(createTime) between #{params.beginTime} and #{params.endTime} diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyMapper.xml index fd86c73c..e98ec73b 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/trouble/SmzSspProblemmodifyMapper.xml @@ -111,9 +111,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and ssp.recheckSendUser = #{recheckSendUser} and ssp.problemType = #{problemType} - and - ( - ssp.createUser=#{currentUserId} or ssp.lordSent=#{currentUserId} or find_in_set(#{currentUserId},ssp.copySend) or ssp.recheckSend=#{currentUserId} + and ( + ssp.createUser=#{currentUserId} or ssp.lordSent=#{currentUserId} or find_in_set(#{currentUserId},ssp.copySend) or ssp.recheckSend=#{currentUserId} ) and ssp.checkState in (0,3) @@ -300,6 +299,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + and a.projectName like concat('%', #{projectName}, '%') and a.problemType = #{problemType} and a.danger_type = #{dangerType} and date(a.createTime) >= date(#{createTime}) @@ -307,49 +307,50 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.createUser = #{createUser} and a.lordSent = #{lordSent} - AND - ( + and ( a.createUser=#{currentUserId} or a.lordSent=#{currentUserId} or find_in_set(#{currentUserId},a.copySend) or a.recheckSend=#{currentUserId} ) + and a.isDel=0 + +