|
|
|
@ -3,40 +3,6 @@
|
|
|
|
|
|
|
|
|
|
<mapper namespace="com.glxp.udi.admin.dao.basic.BussinessTypeDao">
|
|
|
|
|
|
|
|
|
|
<select id="filterList" parameterType="com.glxp.udi.admin.req.basic.BussinessTypeFilterRequest"
|
|
|
|
|
resultType="com.glxp.udi.admin.entity.basic.BussinessTypeEntity">
|
|
|
|
|
SELECT
|
|
|
|
|
basic_bussiness_type.id,basic_bussiness_type.action,basic_bussiness_type.name,
|
|
|
|
|
basic_bussiness_type.enable,basic_bussiness_type.remark,basic_bussiness_type.mainAction,
|
|
|
|
|
basic_bussiness_type.thirdSysFk,basic_bussiness_type.localAction,basic_bussiness_type.secCheckEnable,
|
|
|
|
|
basic_bussiness_type.checkUdims,basic_bussiness_type.checkPdaEd,basic_bussiness_type.checkPdaUn,basic_bussiness_type.checkPc,
|
|
|
|
|
basic_bussiness_type.checkWebNew,basic_bussiness_type.checkChange,
|
|
|
|
|
basic_bussiness_type.secCheckUdims, basic_bussiness_type.secCheckPdaEd, basic_bussiness_type.secCheckPdaUn,
|
|
|
|
|
basic_bussiness_type.secCheckWebNew, basic_bussiness_type.secCheckChange,
|
|
|
|
|
basic_bussiness_type.checkEnable,basic_bussiness_type.prefix,
|
|
|
|
|
basic_bussiness_type.genUnit,basic_bussiness_type.innerOrder,
|
|
|
|
|
corpType,basic_bussiness_type.storageCode,basic_bussiness_type.checkBalacne,
|
|
|
|
|
basic_bussiness_type.secCheckBalacne, defaultUnit, basic_bussiness_type.supplementOrderType
|
|
|
|
|
FROM basic_bussiness_type
|
|
|
|
|
<where>
|
|
|
|
|
<if test="name != ''and name != null">
|
|
|
|
|
AND basic_bussiness_type.name LIKE concat('%',#{name},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="action != ''and action != null">
|
|
|
|
|
AND basic_bussiness_type.action LIKE concat('%',#{action},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="mainAction != ''and mainAction != null">
|
|
|
|
|
AND basic_bussiness_type.mainAction LIKE concat('%',#{mainAction},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="enabled != null">
|
|
|
|
|
AND basic_bussiness_type.enable = #{enabled}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="customerId != null and customerId != ''">
|
|
|
|
|
AND basic_bussiness_type.customerId = #{customerId}
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
<select id="filterJoinList" parameterType="com.glxp.udi.admin.req.basic.BussinessTypeFilterRequest"
|
|
|
|
|
resultType="com.glxp.udi.admin.res.basic.BussinessTypResponse">
|
|
|
|
|
select * from basic_bussiness_type
|
|
|
|
@ -283,19 +249,6 @@
|
|
|
|
|
where action = #{action}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
<delete id="deleteById" parameterType="Map">
|
|
|
|
|
DELETE
|
|
|
|
|
FROM basic_bussiness_type
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectById" parameterType="Map" resultType="com.glxp.udi.admin.entity.basic.BussinessTypeEntity">
|
|
|
|
|
select *
|
|
|
|
|
FROM basic_bussiness_type
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectByAction" resultType="com.glxp.udi.admin.entity.basic.BussinessTypeEntity">
|
|
|
|
|
select *
|
|
|
|
|
from basic_bussiness_type
|
|
|
|
|