|  |  |  | 
|---|
|  |  |  | a.company_id = #{companyId} | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="findFyfaManageList" resultType="com.matrix.system.fenxiao.vo.FyfaManageVo"> | 
|---|
|  |  |  | SELECT | 
|---|
|  |  |  | a.id id, | 
|---|
|  |  |  | a.name name, | 
|---|
|  |  |  | a.self_commission selfCommission, | 
|---|
|  |  |  | 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> | 
|---|