|
|
|
@ -21,13 +21,13 @@
|
|
|
|
|
on basic_bussiness_type.localAction = basic_bustype_local.action
|
|
|
|
|
<where>
|
|
|
|
|
<if test="name != ''and name != null">
|
|
|
|
|
AND basic_bussiness_type.name LIKE concat(#{name},'%')
|
|
|
|
|
AND basic_bussiness_type.name LIKE concat('%',#{name},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="action != ''and action != null">
|
|
|
|
|
AND basic_bussiness_type.action LIKE concat(#{action},'%')
|
|
|
|
|
AND basic_bussiness_type.action LIKE concat('%',#{action},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="mainAction != ''and mainAction != null">
|
|
|
|
|
AND basic_bussiness_type.mainAction LIKE concat(#{mainAction},'%')
|
|
|
|
|
AND basic_bussiness_type.mainAction LIKE concat('%',#{mainAction},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="enabled != ''and enabled != null">
|
|
|
|
|
AND basic_bussiness_type.enable =#{enabled}
|
|
|
|
@ -52,10 +52,10 @@
|
|
|
|
|
basic_bustype_local.action
|
|
|
|
|
<where>
|
|
|
|
|
<if test="name != ''and name != null">
|
|
|
|
|
AND name LIKE concat(#{name},'%')
|
|
|
|
|
AND basic_bussiness_type.name LIKE concat('%',#{name},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="action != ''and action != null">
|
|
|
|
|
AND `action` LIKE concat(#{action},'%')
|
|
|
|
|
AND `action` LIKE concat('%',#{action},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="mainAction != ''and mainAction != null">
|
|
|
|
|
AND mainAction LIKE concat(#{mainAction},'%')
|
|
|
|
@ -100,7 +100,7 @@
|
|
|
|
|
INNER JOIN inv_warehouse_user on inv_warehouse.`code` =inv_warehouse_user.`code`
|
|
|
|
|
<where>
|
|
|
|
|
<if test="name != ''and name != null">
|
|
|
|
|
AND basic_bussiness_type.name LIKE concat(#{name},'%')
|
|
|
|
|
AND basic_bussiness_type.name LIKE concat('%',#{name},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="action != ''and action != null">
|
|
|
|
|
AND basic_bussiness_type.action LIKE concat(#{action},'%')
|
|
|
|
|