From 29ec1723ac1a3ed22f1e72e316a9ccfea0e1c2dd Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Tue, 16 Mar 2021 18:12:36 +0800
Subject: [PATCH] 新增配置查询3
---
zq-erp/src/main/resources/mybatis/mapper/fenxiao/ShopSalesmanGradeDao.xml | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/zq-erp/src/main/resources/mybatis/mapper/fenxiao/ShopSalesmanGradeDao.xml b/zq-erp/src/main/resources/mybatis/mapper/fenxiao/ShopSalesmanGradeDao.xml
index 311d174..00dd2d4 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/fenxiao/ShopSalesmanGradeDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/fenxiao/ShopSalesmanGradeDao.xml
@@ -45,4 +45,23 @@
a.company_id = #{companyId}
</select>
+ <select id="findFyfaManageList" resultType="com.matrix.system.fenxiao.vo.FyfaManageVo">
+ SELECT
+ a.id id,
+ a.name name,
+ a.seales_commission sealesCommission,
+ a.invitation_commission invitationCommission,
+ a.grade_condition gradeCondition,
+ a.is_default isDefault
+ FROM
+ shop_salesman_grade a
+ <where>
+ a.company_id = #{record.companyId}
+ </where>
+ <if test="record.sort !=null">
+ order by
+ a.${record.sort} ${record.order}
+ </if>
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1