feat:合同配置
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<result column="franchise_mode" jdbcType="VARCHAR" property="franchiseMode" />
|
||||
<result column="fadada_template_id" jdbcType="VARCHAR" property="fadadaTemplateId" />
|
||||
<result column="serial_number" jdbcType="INTEGER" property="serialNumber" />
|
||||
<result column="payee_name" javaType="VARCHAR" property="payeeName"/>
|
||||
<result column="payee_name" jdbcType="VARCHAR" property="payeeName"/>
|
||||
<result column="deleted" jdbcType="TINYINT" property="deleted" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
@@ -31,4 +31,15 @@
|
||||
and brand = #{brand}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="queryContractConfigListByBrandAndMode" resultMap="BaseResultMap">
|
||||
select * from xfsg_contract_config
|
||||
where deleted = 0
|
||||
<if test="brand!=null and brand !=''">
|
||||
and brand = #{brand}
|
||||
</if>
|
||||
<if test="mode!=null and mode !=''">
|
||||
and franchise_mode like concat('%,',#{mode},',%')
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user