Helius
2020-12-27 1e77ffda09c081c1b9320afe28ecaf15b6b7fd20
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml
@@ -503,6 +503,9 @@
         <if test="record.shopId != null">
            and a.shop_id=#{record.shopId}
         </if>
         <if test="record.userId!=null">
            and (a.create_staff_id=#{record.userId} or b.staff_id=#{record.userId})
         </if>
      </where>
      <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 -->
         order by a.yy_time desc
@@ -532,6 +535,9 @@
         <if test="record.shopId != null">
            and a.shop_id=#{record.shopId}
         </if>
         <if test="record.userId!=null">
            and (a.create_staff_id=#{record.userId} or b.staff_id=#{record.userId})
         </if>
      </where>
   </select>
</mapper>