Explorar el Código

项目列表管理线下归档和项目类型查询条件修改

user5 hace 3 años
padre
commit
61570c19f3

+ 2 - 2
src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectMessageAllDao.xml

@@ -512,7 +512,7 @@ END) as projectScale*/
 							</if>
 						</when>
 						<otherwise>
-							AND( /*pfp.status is null or*/ ppf.status is null )
+							AND( (a.submitMoney = 2 and pfp.status is null) or (a.submitMoney = 1 and ppf.status is null) )
 						</otherwise>
 					</choose>
 				</when>
@@ -757,7 +757,7 @@ END) as projectScale*/
 							</if>
 						</when>
 						<otherwise>
-							AND( /*pfp.status is null or*/ ppf.status is null )
+							AND( (a.submitMoney = 2 and pfp.status is null) or (a.submitMoney = 1 and ppf.status is null) )
 						</otherwise>
 					</choose>
 				</when>