diff --git a/yanzhu-jh/src/main/resources/mapper/trouble/SmzSspAuditinfoMapper.xml b/yanzhu-jh/src/main/resources/mapper/trouble/SmzSspAuditinfoMapper.xml index 5a807143..8964d4d3 100644 --- a/yanzhu-jh/src/main/resources/mapper/trouble/SmzSspAuditinfoMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/trouble/SmzSspAuditinfoMapper.xml @@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join sys_user u on u.phonenumber = ssa.createUser left join sys_dict_data ssd on ssd.dict_type = 'smz_ssp_auditinfo' and ssd.dict_value = ssa.processState where ssa.mainId = #{mainId} and ssa.processState in (0,2) + GROUP BY ssa.id order by ssa.createTime limit 0,1