| | |
| | | <if test="userId !=null and userId !=''"> |
| | | sdu.user_id=#{userId} AND |
| | | </if> |
| | | <if test="userType !=null and userType !=''"> |
| | | spu.user_type=#{userType} AND |
| | | </if> |
| | | </trim> |
| | | </where> |
| | | |
| | | order by spu.create_time desc |
| | | </select> |
| | | |
| | | <select id="queryForPullDownDorm" resultType="com.thhy.staff.modules.biz.platuser.entity.PlatUserPullDown"> |
| | |
| | | left join sys_depart_user sdu on sdu.user_id = spu.user_id |
| | | left join sys_depart sd on sd.depart_id = sdu.depart_id |
| | | where rwu.region_warranty_id = #{regionWarrantyId} |
| | | order by user_type |
| | | order by rwu.user_type |
| | | </select> |
| | | |
| | | <select id="faceArea" resultType="string"> |