Преглед на файлове

新增日期超出报错处理

anderx преди 1 година
родител
ревизия
36e0f288cd
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      ruoyi-admin/src/main/resources/application.yml
  2. 1 1
      ruoyi-system/src/main/resources/mapper/project/ProjectTaskMapper.xml

+ 1 - 1
ruoyi-admin/src/main/resources/application.yml

@@ -6,7 +6,7 @@ spring:
     basename: i18n/messages
   profiles:
     active: @activatedEnv@
-#    active: druid-prod
+#    active: druid-dev
   #   文件上传
   servlet:
     multipart:

+ 1 - 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 project_status >= 0
         <if test="roleType ==0">
             and (a.aid =#{uid} or  a.id in (select pid from project_staff where aid= #{uid}))
         </if>