| | |
| | | <result property="name" column="name" /> |
| | | <result property="sealesCommission" column="seales_commission" /> |
| | | <result property="invitationCommission" column="invitation_commission" /> |
| | | <result property="condition" column="condition" /> |
| | | <result property="gradeCondition" column="grade_condition" /> |
| | | <result property="isDefault" column="is_default" /> |
| | | <result property="companyId" column="company_id" /> |
| | | </resultMap> |
| | |
| | | <result property="name" column="name" /> |
| | | <result property="sealesCommission" column="seales_commission" /> |
| | | <result property="invitationCommission" column="invitation_commission" /> |
| | | <result property="condition" column="condition" /> |
| | | <result property="gradeCondition" column="grade_condition" /> |
| | | <result property="isDefault" column="is_default" /> |
| | | <result property="companyId" column="company_id" /> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="getShopSalesmanGradeVo" resultType="com.matrix.system.fenxiao.vo.ShopSalesmanGradeVo"> |
| | | SELECT |
| | | a.id, |
| | | a.name |
| | | FROM |
| | | shop_salesman_grade a |
| | | where |
| | | 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> |