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 + +