Просмотр исходного кода

新增日期超出报错处理

anderx 1 год назад
Родитель
Сommit
5b7d64391c

+ 2 - 1
ruoyi-system/src/main/resources/mapper/project/ProjectTaskMapper.xml

@@ -224,7 +224,7 @@
         from project_task a
         left join sys_user c on a.aid=c.user_id
         left join sys_dept d on c.dept_id=d.dept_id
-        where project_status >= 0
+        <where>
         <if test="roleType ==0">
             and (a.aid =#{uid} or  a.id in (select pid from project_staff where aid= #{uid}))
         </if>
@@ -270,6 +270,7 @@
         <if test="deptId !=null">
             and (d.dept_id= #{deptId} or find_in_set(#{deptId},d.ancestors))
         </if>
+        </where>
     </select>
     <select id="projectAddDuration">
         update project_task