fix:店-招商经理关系

This commit is contained in:
suzhuhong
2026-01-02 11:54:49 +08:00
parent e34aea7a40
commit 2eaa1533c2
5 changed files with 33 additions and 3 deletions

View File

@@ -46,7 +46,19 @@
and type = #{type}
</if>
</where>
order by enable_flag desc
order by
enable_flag desc,
<choose>
<when test="type != null and type == 2">
id asc
</when>
<when test="type != null and type == 1">
id desc
</when>
<otherwise>
id asc
</otherwise>
</choose>
</select>
<select id="queryOrgInfoByBigRegionAndJoinMode" resultMap="BaseResultMap">

View File

@@ -41,6 +41,7 @@
<result column="monthly_other_expenses" property="monthlyOtherExpenses"/>
<result column="unified_management" property="unifiedManagement" jdbcType="TINYINT"/>
<result column="join_model" property="joinModel" jdbcType="TINYINT"/>
<result column="join_supervision" property="joinSupervision" jdbcType="VARCHAR"/>
<result column="join_brand" property="joinBrand" jdbcType="TINYINT"/>
<result column="store_type" property="storeType" jdbcType="TINYINT"/>
<result column="mini_program_order_store_name" property="miniProgramOrderStoreName"/>