|  |  | @ -2,50 +2,88 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |  |  |  | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <mapper namespace="com.glxp.api.admin.dao.basic.BussinessTypeDao"> |  |  |  | <mapper namespace="com.glxp.api.admin.dao.basic.BussinessTypeDao"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     <select id="filterList" parameterType="com.glxp.api.admin.req.receipt.BussinessTypeFilterRequest" |  |  |  |     <select id="filterList" parameterType="com.glxp.api.admin.req.receipt.BussinessTypeFilterRequest" | 
			
		
	
		
		
			
				
					
					|  |  |  |             resultType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> |  |  |  |             resultType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         SELECT |  |  |  |         SELECT basic_bussiness_type.id, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.id,basic_bussiness_type.action,basic_bussiness_type.name, |  |  |  |                basic_bussiness_type.action, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.enable,basic_bussiness_type.remark,basic_bussiness_type.mainAction, |  |  |  |                basic_bussiness_type.vailDispatch, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.thirdSysFk,basic_bussiness_type.localAction,basic_bussiness_type.secCheckEnable, |  |  |  |                basic_bussiness_type.vailGroupBuy, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.checkUdims,basic_bussiness_type.checkPdaEd,basic_bussiness_type.checkPdaUn,basic_bussiness_type.checkPc, |  |  |  |                basic_bussiness_type.name, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.checkWebNew,basic_bussiness_type.checkChange,basic_bussiness_type.codeFillCheck, |  |  |  |                basic_bussiness_type.enable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.secCheckUdims, basic_bussiness_type.secCheckPdaEd, basic_bussiness_type.secCheckPdaUn, |  |  |  |                basic_bussiness_type.remark, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.secCheckWebNew, basic_bussiness_type.secCheckChange, |  |  |  |                basic_bussiness_type.mainAction, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.entrutSpms, |  |  |  |                basic_bussiness_type.thirdSysFk, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.ullageFill, basic_bussiness_type.scanPreIn, basic_bussiness_type.vailInv, |  |  |  |                basic_bussiness_type.localAction, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.name localName,basic_bussiness_type.checkEnable, basic_bustype_local.advanceType, |  |  |  |                basic_bussiness_type.secCheckEnable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.changeEnable,basic_bussiness_type.genUnit,basic_bussiness_type.innerOrder,basic_bussiness_type.outTospms, |  |  |  |                basic_bussiness_type.checkUdims, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.spUse,corpType,basic_bussiness_type.storageCode,basic_bussiness_type.checkBalacne, |  |  |  |                basic_bussiness_type.checkPdaEd, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.secCheckBalacne, defaultUnit,basic_bustype_origin.action |  |  |  |                basic_bussiness_type.checkPdaUn, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         thirdAction,basic_bustype_origin.thirdSys,basic_bussiness_type.useDyCount,basic_bussiness_type.expireTip,basic_bussiness_type.prefix,basic_bustype_local.prefix |  |  |  |                basic_bussiness_type.checkPc, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         localPrefix,basic_bustype_local.preIn,basic_bussiness_type.defaultSubInv,basic_bussiness_type.defaultInv,orderVisibleType,supplementAll, |  |  |  |                basic_bussiness_type.checkWebNew, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         checkCopy,secCheckCopy |  |  |  |                basic_bussiness_type.checkChange, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         FROM basic_bussiness_type LEFT JOIN basic_bustype_local |  |  |  |                basic_bussiness_type.codeFillCheck, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         on basic_bussiness_type.localAction = basic_bustype_local.action |  |  |  |                basic_bussiness_type.secCheckUdims, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         left join basic_bustype_origin on basic_bustype_local.originAction = basic_bustype_origin.action |  |  |  |                basic_bussiness_type.secCheckPdaEd, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.secCheckPdaUn, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.secCheckWebNew, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.secCheckChange, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.entrutSpms, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.ullageFill, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.scanPreIn, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.vailInv, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.name localName, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.checkEnable, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.advanceType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.changeEnable, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.genUnit, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.innerOrder, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.outTospms, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.spUse, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                corpType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.storageCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.checkBalacne, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.secCheckBalacne, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                defaultUnit, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_origin.action | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                         thirdAction, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_origin.thirdSys, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.useDyCount, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.expireTip, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.prefix, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.prefix | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                         localPrefix, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.preIn, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.defaultSubInv, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.defaultInv, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                orderVisibleType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                supplementAll, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                checkCopy, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                secCheckCopy | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         FROM basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  LEFT JOIN basic_bustype_local | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                            on basic_bussiness_type.localAction = basic_bustype_local.action | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  left join basic_bustype_origin on basic_bustype_local.originAction = basic_bustype_origin.action | 
			
		
	
		
		
			
				
					
					|  |  |  |         <where> |  |  |  |         <where> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="name != ''and name != null"> |  |  |  |             <if test="name != ''and name != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.name LIKE concat('%',#{name},'%') |  |  |  |                 AND basic_bussiness_type.name LIKE concat('%', #{name}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="action != ''and action != null"> |  |  |  |             <if test="action != ''and action != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.action LIKE concat('%',#{action},'%') |  |  |  |                 AND basic_bussiness_type.action LIKE concat('%', #{action}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="mainAction != ''and mainAction != null"> |  |  |  |             <if test="mainAction != ''and mainAction != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.mainAction LIKE concat('%',#{mainAction},'%') |  |  |  |                 AND basic_bussiness_type.mainAction LIKE concat('%', #{mainAction}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="enabled != ''and enabled != null"> |  |  |  |             <if test="enabled != ''and enabled != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.enable =#{enabled} |  |  |  |                 AND basic_bussiness_type.enable = #{enabled} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="advanceType != ''and advanceType != null"> |  |  |  |             <if test="advanceType != ''and advanceType != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.advanceType =#{advanceType} |  |  |  |                 AND basic_bustype_local.advanceType = #{advanceType} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="spUse != ''and spUse != null"> |  |  |  |             <if test="spUse != ''and spUse != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.spUse =#{spUse} |  |  |  |                 AND basic_bustype_local.spUse = #{spUse} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </where> |  |  |  |         </where> | 
			
		
	
		
		
			
				
					
					|  |  |  |         GROUP BY basic_bussiness_type.id |  |  |  |         GROUP BY basic_bussiness_type.id, basic_bussiness_type.updateTime | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         order by basic_bussiness_type.updateTime desc |  |  |  |         order by basic_bussiness_type.updateTime desc | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -56,25 +94,21 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         FROM basic_bussiness_type |  |  |  |         FROM basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |         <where> |  |  |  |         <where> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="name != ''and name != null"> |  |  |  |             <if test="name != ''and name != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.name LIKE concat('%',#{name},'%') |  |  |  |                 AND basic_bussiness_type.name LIKE concat('%', #{name}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="action != ''and action != null"> |  |  |  |             <if test="action != ''and action != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.action LIKE concat('%',#{action},'%') |  |  |  |                 AND basic_bussiness_type.action LIKE concat('%', #{action}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="mainAction != ''and mainAction != null"> |  |  |  |             <if test="mainAction != ''and mainAction != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.mainAction LIKE concat('%',#{mainAction},'%') |  |  |  |                 AND basic_bussiness_type.mainAction LIKE concat('%', #{mainAction}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="enabled != ''and enabled != null"> |  |  |  |             <if test="enabled != ''and enabled != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.enable =#{enabled} |  |  |  |                 AND basic_bussiness_type.enable = #{enabled} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="advanceType != ''and advanceType != null"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.advanceType =#{advanceType} |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="spUse != ''and spUse != null"> |  |  |  |             <if test="lastUpdateTime != null and lastUpdateTime != ''"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.spUse =#{spUse} |  |  |  |                 <![CDATA[ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |                 and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S') >= DATE_FORMAT(#{lastUpdateTime}, '%Y-%m-%d %H:%i:%S') | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="lastUpdateTime!=null and lastUpdateTime!=''"> |  |  |  |                 ]]> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <![CDATA[   and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>=  DATE_FORMAT(#{lastUpdateTime}, '%Y-%m-%d %H:%i:%S')   ]]> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </where> |  |  |  |         </where> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
	
		
		
			
				
					|  |  | @ -82,40 +116,52 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     <select id="filterJoinList" parameterType="com.glxp.api.admin.req.receipt.BussinessTypeFilterRequest" |  |  |  |     <select id="filterJoinList" parameterType="com.glxp.api.admin.req.receipt.BussinessTypeFilterRequest" | 
			
		
	
		
		
			
				
					
					|  |  |  |             resultType="com.glxp.api.admin.res.basic.BussinessTypResponse"> |  |  |  |             resultType="com.glxp.api.admin.res.basic.BussinessTypResponse"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         select basic_bussiness_type.*, |  |  |  |         select basic_bussiness_type.*, | 
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.name localName,basic_bussiness_type.checkEnable, basic_bustype_local.advanceType, |  |  |  |                basic_bustype_local.name   localName, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.changeEnable,basic_bussiness_type.genUnit,basic_bussiness_type.innerOrder,defaultUnit, |  |  |  |                basic_bussiness_type.checkEnable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.spUse,basic_bussiness_type.storageCode,basic_bussiness_type.expireTip, |  |  |  |                basic_bustype_local.advanceType, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.prefix localPrefix ,basic_bustype_local.preIn,orderVisibleType,supplementAll from |  |  |  |                basic_bustype_local.changeEnable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type LEFT JOIN |  |  |  |                basic_bussiness_type.genUnit, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_third_sys on basic_bussiness_type.thirdSysFk = |  |  |  |                basic_bussiness_type.innerOrder, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_third_sys.thirdId LEFT JOIN basic_bustype_local on basic_bussiness_type.localAction = |  |  |  |                defaultUnit, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.action |  |  |  |                basic_bustype_local.spUse, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.storageCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.expireTip, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.prefix localPrefix, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.preIn, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                orderVisibleType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                supplementAll | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         from basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  LEFT JOIN | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |              basic_third_sys on basic_bussiness_type.thirdSysFk = | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 basic_third_sys.thirdId | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  LEFT JOIN basic_bustype_local on basic_bussiness_type.localAction = | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                   basic_bustype_local.action | 
			
		
	
		
		
			
				
					
					|  |  |  |         <where> |  |  |  |         <where> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="name != ''and name != null"> |  |  |  |             <if test="name != ''and name != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.name LIKE concat('%',#{name},'%') |  |  |  |                 AND basic_bussiness_type.name LIKE concat('%', #{name}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="action != ''and action != null"> |  |  |  |             <if test="action != ''and action != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND `action` LIKE concat('%',#{action},'%') |  |  |  |                 AND `action` LIKE concat('%', #{action}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="mainAction != ''and mainAction != null"> |  |  |  |             <if test="mainAction != ''and mainAction != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND mainAction LIKE concat(#{mainAction},'%') |  |  |  |                 AND mainAction LIKE concat(#{mainAction}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="enabled != null"> |  |  |  |             <if test="enabled != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.enable =#{enabled} |  |  |  |                 AND basic_bussiness_type.enable = #{enabled} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="advanceType != ''and advanceType != null"> |  |  |  |             <if test="advanceType != ''and advanceType != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.advanceType =#{advanceType} |  |  |  |                 AND basic_bustype_local.advanceType = #{advanceType} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="spUse != ''and spUse != null"> |  |  |  |             <if test="spUse != ''and spUse != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.spUse =#{spUse} |  |  |  |                 AND basic_bustype_local.spUse = #{spUse} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="localAction != ''and localAction != null"> |  |  |  |             <if test="localAction != ''and localAction != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.action =#{localAction} |  |  |  |                 AND basic_bustype_local.action = #{localAction} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckEnable != ''and secCheckEnable != null"> |  |  |  |             <if test="secCheckEnable != ''and secCheckEnable != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.secCheckEnable =#{secCheckEnable} |  |  |  |                 AND basic_bussiness_type.secCheckEnable = #{secCheckEnable} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="actionList != null and actionList.size() >0"> |  |  |  |             <if test="actionList != null and actionList.size() > 0"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 <foreach collection="actionList" item="action" open="AND (" separator="AND" close=")"> |  |  |  |                 <foreach collection="actionList" item="action" open="AND (" separator="AND" close=")"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     basic_bussiness_type.action <> #{action,jdbcType=VARCHAR} |  |  |  |                     basic_bussiness_type.action <> #{action,jdbcType=VARCHAR} | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </foreach> |  |  |  |                 </foreach> | 
			
		
	
	
		
		
			
				
					|  |  | @ -126,240 +172,369 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <select id="filterAllByUser" parameterType="com.glxp.api.admin.req.receipt.BussinessTypeFilterRequest" |  |  |  |     <select id="filterAllByUser" parameterType="com.glxp.api.admin.req.receipt.BussinessTypeFilterRequest" | 
			
		
	
		
		
			
				
					
					|  |  |  |             resultType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> |  |  |  |             resultType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         SELECT |  |  |  |         SELECT basic_bussiness_type.id, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.id,basic_bussiness_type.action,basic_bussiness_type.name, |  |  |  |                basic_bussiness_type.action, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.enable,basic_bussiness_type.remark,basic_bussiness_type.mainAction, |  |  |  |                basic_bussiness_type.name, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.thirdSysFk,basic_bussiness_type.localAction,basic_bussiness_type.secCheckEnable, |  |  |  |                basic_bussiness_type.enable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.checkUdims,basic_bussiness_type.checkPdaEd,basic_bussiness_type.checkPdaUn, |  |  |  |                basic_bussiness_type.remark, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.checkPc, |  |  |  |                basic_bussiness_type.mainAction, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.checkWebNew,basic_bussiness_type.checkChange,basic_bussiness_type.entrutSpms, |  |  |  |                basic_bussiness_type.thirdSysFk, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.codeFillCheck, |  |  |  |                basic_bussiness_type.localAction, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.secCheckUdims, basic_bussiness_type.secCheckPdaEd, basic_bussiness_type.secCheckPdaUn, |  |  |  |                basic_bussiness_type.secCheckEnable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.secCheckWebNew, basic_bussiness_type.secCheckChange,basic_bussiness_type.outTospms, |  |  |  |                basic_bussiness_type.checkUdims, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.ullageFill, basic_bussiness_type.scanPreIn, basic_bussiness_type.vailInv, |  |  |  |                basic_bussiness_type.checkPdaEd, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.name localName,basic_bussiness_type.checkEnable, basic_bustype_local.advanceType, |  |  |  |                basic_bussiness_type.checkPdaUn, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.changeEnable,basic_bussiness_type.genUnit,basic_bussiness_type.innerOrder, |  |  |  |                basic_bussiness_type.checkPc, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bustype_local.spUse,corpType,basic_bussiness_type.storageCode,basic_bussiness_type.checkBalacne,defaultUnit, |  |  |  |                basic_bussiness_type.checkWebNew, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.secCheckBalacne,basic_bustype_origin.action |  |  |  |                basic_bussiness_type.checkChange, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         thirdAction,basic_bustype_origin.thirdSys,useDyCount,basic_bussiness_type.expireTip, |  |  |  |                basic_bussiness_type.entrutSpms, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         basic_bussiness_type.prefix,basic_bustype_local.prefix |  |  |  |                basic_bussiness_type.codeFillCheck, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         localPrefix,basic_bustype_local.preIn,basic_bussiness_type.defaultSubInv,basic_bussiness_type.defaultInv,orderVisibleType,supplementAll, |  |  |  |                basic_bussiness_type.secCheckUdims, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         checkCopy,secCheckCopy |  |  |  |                basic_bussiness_type.secCheckPdaEd, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         FROM basic_bussiness_type LEFT JOIN basic_bustype_local |  |  |  |                basic_bussiness_type.secCheckPdaUn, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         on basic_bussiness_type.localAction = basic_bustype_local.action |  |  |  |                basic_bussiness_type.secCheckWebNew, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         left join basic_bustype_origin on basic_bustype_local.originAction = basic_bustype_origin.action |  |  |  |                basic_bussiness_type.secCheckChange, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         INNER JOIN inv_warehouse_bussiness_type on basic_bussiness_type.action = inv_warehouse_bussiness_type.action |  |  |  |                basic_bussiness_type.outTospms, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         INNER JOIN inv_warehouse_sub on inv_warehouse_sub.`code` = inv_warehouse_bussiness_type.code |  |  |  |                basic_bussiness_type.ullageFill, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         INNER JOIN inv_warehouse on inv_warehouse_sub.parentId = inv_warehouse.`code` |  |  |  |                basic_bussiness_type.scanPreIn, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         INNER JOIN inv_warehouse_user on inv_warehouse_sub.`code` =inv_warehouse_user.`code` |  |  |  |                basic_bussiness_type.vailInv, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         INNER JOIN inv_bustype_user on inv_warehouse_bussiness_type.action = inv_bustype_user.scAction |  |  |  |                basic_bussiness_type.vailDispatch, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.vailGroupBuy, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.name localName, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.checkEnable, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.advanceType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.changeEnable, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.genUnit, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.innerOrder, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.spUse, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                corpType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.storageCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.checkBalacne, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                defaultUnit, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.secCheckBalacne, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_origin.action | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                         thirdAction, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_origin.thirdSys, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                useDyCount, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.expireTip, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.prefix, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.prefix | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                         localPrefix, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bustype_local.preIn, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.defaultSubInv, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                basic_bussiness_type.defaultInv, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                orderVisibleType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                supplementAll, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                checkCopy, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                secCheckCopy | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         FROM basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  LEFT JOIN basic_bustype_local | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                            on basic_bussiness_type.localAction = basic_bustype_local.action | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  left join basic_bustype_origin on basic_bustype_local.originAction = basic_bustype_origin.action | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  INNER JOIN inv_warehouse_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             on basic_bussiness_type.action = inv_warehouse_bussiness_type.action | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  INNER JOIN inv_warehouse_sub on inv_warehouse_sub.`code` = inv_warehouse_bussiness_type.code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  INNER JOIN inv_warehouse on inv_warehouse_sub.parentId = inv_warehouse.`code` | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  INNER JOIN inv_warehouse_user on inv_warehouse_sub.`code` = inv_warehouse_user.`code` | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                  INNER JOIN inv_bustype_user on inv_warehouse_bussiness_type.action = inv_bustype_user.scAction | 
			
		
	
		
		
			
				
					
					|  |  |  |         <where> |  |  |  |         <where> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="name != ''and name != null"> |  |  |  |             <if test="name != ''and name != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.name LIKE concat('%',#{name},'%') |  |  |  |                 AND basic_bussiness_type.name LIKE concat('%', #{name}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="action != ''and action != null"> |  |  |  |             <if test="action != ''and action != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.action LIKE concat(#{action},'%') |  |  |  |                 AND basic_bussiness_type.action LIKE concat(#{action}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="mainAction != ''and mainAction != null"> |  |  |  |             <if test="mainAction != ''and mainAction != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.mainAction LIKE concat(#{mainAction},'%') |  |  |  |                 AND basic_bussiness_type.mainAction LIKE concat(#{mainAction}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="enabled != ''and enabled != null"> |  |  |  |             <if test="enabled != ''and enabled != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bussiness_type.enable =#{enabled} |  |  |  |                 AND basic_bussiness_type.enable = #{enabled} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="advanceType != ''and advanceType != null"> |  |  |  |             <if test="advanceType != ''and advanceType != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.advanceType =#{advanceType} |  |  |  |                 AND basic_bustype_local.advanceType = #{advanceType} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="spUse != ''and spUse != null"> |  |  |  |             <if test="spUse != ''and spUse != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_bustype_local.spUse =#{spUse} |  |  |  |                 AND basic_bustype_local.spUse = #{spUse} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="locInvCode != ''and locInvCode != null"> |  |  |  |             <if test="locInvCode != ''and locInvCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND inv_warehouse.`code` =#{locInvCode} |  |  |  |                 AND inv_warehouse.`code` = #{locInvCode} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="locSubInvCode != ''and locSubInvCode != null"> |  |  |  |             <if test="locSubInvCode != ''and locSubInvCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND inv_warehouse_sub.`code` =#{locSubInvCode} |  |  |  |                 AND inv_warehouse_sub.`code` = #{locSubInvCode} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="userId != ''and userId != null"> |  |  |  |             <if test="userId != ''and userId != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND inv_bustype_user.`userId` = #{userId} |  |  |  |                 AND inv_bustype_user.`userId` = #{userId} | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         </where> |  |  |  |         </where> | 
			
		
	
		
		
			
				
					
					|  |  |  |         group by basic_bussiness_type.action |  |  |  |         group by basic_bussiness_type.action | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <insert id="insertBussinessType" keyProperty="id" |  |  |  |     <insert id="insertBussinessType" keyProperty="id" | 
			
		
	
		
		
			
				
					
					|  |  |  |             parameterType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> |  |  |  |             parameterType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         replace |  |  |  |         replace | 
			
		
	
		
		
			
				
					
					|  |  |  |         INTO basic_bussiness_type |  |  |  |             INTO basic_bussiness_type | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         (`action`,`name`,enable,remark,mainAction,localAction,thirdSysFk, |  |  |  |         (`action`, `name`, enable, remark, mainAction, localAction, thirdSysFk, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         checkEnable,genUnit,innerOrder,secCheckEnable, |  |  |  |          checkEnable, genUnit, innerOrder, secCheckEnable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         checkUdims,checkPdaEd,checkPdaUn,checkPc,checkWebNew,checkChange |  |  |  |          checkUdims, checkPdaEd, checkPdaUn, checkPc, checkWebNew, checkChange | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ,secCheckUdims,secCheckPdaEd,secCheckPdaUn,secCheckPc,secCheckWebNew, |  |  |  |             , secCheckUdims, secCheckPdaEd, secCheckPdaUn, secCheckPc, secCheckWebNew, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         secCheckChange,corpType,basic_bussiness_type.storageCode,checkBalacne, |  |  |  |          secCheckChange, corpType, basic_bussiness_type.storageCode, checkBalacne, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         secCheckBalacne,supplementOrderType,defaultUnit,useDyCount,expireTip,updateTime,prefix |  |  |  |          secCheckBalacne, supplementOrderType, defaultUnit, useDyCount, expireTip, updateTime, prefix | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ,ullageFill,scanPreIn,vailInv,codeFillCheck,defaultSubInv,outTospms,entrutSpms,defaultInv,orderVisibleType,checkCopy,secCheckCopy) |  |  |  |             , ullageFill, scanPreIn, vailInv, codeFillCheck, defaultSubInv, outTospms, entrutSpms, defaultInv, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         values |  |  |  |          orderVisibleType, checkCopy, secCheckCopy, vailDispatch, vailGroupBuy) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             ( |  |  |  |         values (#{action}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{action}, |  |  |  |                 #{name}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{name}, |  |  |  |                 #{enable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{enable}, |  |  |  |                 #{remark}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{remark}, |  |  |  |                 #{mainAction}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{mainAction}, |  |  |  |                 #{localAction}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{localAction}, |  |  |  |                 #{thirdSysFk}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{thirdSysFk}, |  |  |  |                 #{checkEnable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkEnable}, |  |  |  |                 #{genUnit}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{genUnit}, |  |  |  |                 #{innerOrder}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{innerOrder}, |  |  |  |                 #{secCheckEnable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckEnable}, |  |  |  |                 #{checkUdims}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkUdims}, |  |  |  |                 #{checkPdaEd}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkPdaEd}, |  |  |  |                 #{checkPdaUn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkPdaUn}, |  |  |  |                 #{checkPc}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkPc}, |  |  |  |                 #{checkWebNew}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkWebNew}, |  |  |  |                 #{checkChange}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkChange}, |  |  |  |                 #{secCheckUdims}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckUdims}, |  |  |  |                 #{secCheckPdaEd}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckPdaEd}, |  |  |  |                 #{secCheckPdaUn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckPdaUn}, |  |  |  |                 #{secCheckPc}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckPc}, |  |  |  |                 #{secCheckWebNew}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckWebNew}, |  |  |  |                 #{secCheckChange}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckChange}, |  |  |  |                 #{corpType}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{corpType}, |  |  |  |                 #{storageCode}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{storageCode}, |  |  |  |                 #{checkBalacne}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkBalacne}, |  |  |  |                 #{secCheckBalacne}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckBalacne}, |  |  |  |                 #{supplementOrderType}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{supplementOrderType}, |  |  |  |                 #{defaultUnit}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{defaultUnit}, |  |  |  |                 #{useDyCount}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{useDyCount}, |  |  |  |                 #{expireTip}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{expireTip}, |  |  |  |                 #{updateTime}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{updateTime}, |  |  |  |                 #{prefix}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{prefix}, |  |  |  |                 #{ullageFill}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{ullageFill}, |  |  |  |                 #{scanPreIn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{scanPreIn}, |  |  |  |                 #{vailInv}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{vailInv}, |  |  |  |                 #{codeFillCheck}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{codeFillCheck}, |  |  |  |                 #{defaultSubInv}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{defaultSubInv}, |  |  |  |                 #{outTospms}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{outTospms}, |  |  |  |                 #{entrutSpms}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{entrutSpms}, |  |  |  |                 #{defaultInv}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{defaultInv}, |  |  |  |                 #{orderVisibleType}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{orderVisibleType}, |  |  |  |                 #{checkCopy}, #{secCheckCopy}, #{vailDispatch}, #{vailGroupBuy}) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkCopy},#{secCheckCopy} |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         ) |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     </insert> |  |  |  |     </insert> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <insert id="insertIgnoreBussinessType" keyProperty="id" |  |  |  |     <insert id="insertIgnoreBussinessType" keyProperty="id" | 
			
		
	
		
		
			
				
					
					|  |  |  |             parameterType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> |  |  |  |             parameterType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         insert |  |  |  |         insert | 
			
		
	
		
		
			
				
					
					|  |  |  |         ignore |  |  |  |             ignore | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         INTO basic_bussiness_type |  |  |  |         INTO basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |         (`index`,`action`,`name`,enable,remark,mainAction,localAction,thirdSysFk, |  |  |  |         (`index`, `action`, `name`, enable, remark, mainAction, localAction, thirdSysFk, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         checkEnable,genUnit,innerOrder,secCheckEnable, |  |  |  |          checkEnable, genUnit, innerOrder, secCheckEnable, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         checkUdims,checkPdaEd,checkPdaUn,checkPc,checkWebNew,checkChange |  |  |  |          checkUdims, checkPdaEd, checkPdaUn, checkPc, checkWebNew, checkChange | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ,secCheckUdims,secCheckPdaEd,secCheckPdaUn,secCheckPc,secCheckWebNew, |  |  |  |             , secCheckUdims, secCheckPdaEd, secCheckPdaUn, secCheckPc, secCheckWebNew, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         secCheckChange,corpType,storageCode,checkBalacne,secCheckBalacne,supplementOrderType,defaultUnit,useDyCount,expireTip,updateTime,prefix |  |  |  |          secCheckChange, corpType, storageCode, checkBalacne, secCheckBalacne, supplementOrderType, defaultUnit, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ,ullageFill,scanPreIn,vailInv,codeFillCheck,defaultSubInv,outTospms,entrutSpms,defaultInv,orderVisibleType, checkCopy,secCheckCopy) |  |  |  |          useDyCount, expireTip, updateTime, prefix | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         values |  |  |  |             , ullageFill, scanPreIn, vailInv, codeFillCheck, defaultSubInv, outTospms, entrutSpms, defaultInv, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             ( |  |  |  |          orderVisibleType, checkCopy, secCheckCopy, vailDispatch, vailGroupBuy) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{index}, |  |  |  |         values (#{index}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{action}, |  |  |  |                 #{action}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{name}, |  |  |  |                 #{name}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{enable}, |  |  |  |                 #{enable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{remark}, |  |  |  |                 #{remark}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{mainAction}, |  |  |  |                 #{mainAction}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{localAction}, |  |  |  |                 #{localAction}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{thirdSysFk}, |  |  |  |                 #{thirdSysFk}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkEnable}, |  |  |  |                 #{checkEnable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{genUnit}, |  |  |  |                 #{genUnit}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{innerOrder}, |  |  |  |                 #{innerOrder}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckEnable}, |  |  |  |                 #{secCheckEnable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkUdims}, |  |  |  |                 #{checkUdims}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkPdaEd}, |  |  |  |                 #{checkPdaEd}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkPdaUn}, |  |  |  |                 #{checkPdaUn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkPc}, |  |  |  |                 #{checkPc}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkWebNew}, |  |  |  |                 #{checkWebNew}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkChange}, |  |  |  |                 #{checkChange}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckUdims}, |  |  |  |                 #{secCheckUdims}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckPdaEd}, |  |  |  |                 #{secCheckPdaEd}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckPdaUn}, |  |  |  |                 #{secCheckPdaUn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckPc}, |  |  |  |                 #{secCheckPc}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckWebNew}, |  |  |  |                 #{secCheckWebNew}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckChange}, |  |  |  |                 #{secCheckChange}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{corpType}, |  |  |  |                 #{corpType}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{storageCode}, |  |  |  |                 #{storageCode}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{checkBalacne}, |  |  |  |                 #{checkBalacne}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{secCheckBalacnesecCheckBalacne}, |  |  |  |                 #{secCheckBalacne}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{supplementOrderType}, |  |  |  |                 #{supplementOrderType}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{defaultUnit}, |  |  |  |                 #{defaultUnit}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{useDyCount}, |  |  |  |                 #{useDyCount}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{expireTip}, |  |  |  |                 #{expireTip}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{updateTime}, |  |  |  |                 #{updateTime}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{prefix}, |  |  |  |                 #{prefix}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{ullageFill}, |  |  |  |                 #{ullageFill}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{scanPreIn}, |  |  |  |                 #{scanPreIn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{vailInv}, |  |  |  |                 #{vailInv}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{codeFillCheck}, |  |  |  |                 #{codeFillCheck}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{defaultSubInv}, |  |  |  |                 #{defaultSubInv}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{outTospms}, |  |  |  |                 #{outTospms}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{entrutSpms}, |  |  |  |                 #{entrutSpms}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{defaultInv}, |  |  |  |                 #{defaultInv}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         #{orderVisibleType}, #{checkCopy},#{secCheckCopy} |  |  |  |                 #{orderVisibleType}, #{checkCopy}, #{secCheckCopy}, #{vailDispatch}, #{vailGroupBuy}) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ) |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     </insert> |  |  |  |     </insert> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <update id="updateBussinessType" parameterType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> |  |  |  |     <update id="updateBussinessType" parameterType="com.glxp.api.admin.entity.basic.BussinessTypeEntity"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         UPDATE basic_bussiness_type |  |  |  |         UPDATE basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |         <trim prefix="set" suffixOverrides=","> |  |  |  |         <trim prefix="set" suffixOverrides=","> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="action != null">action = #{action},</if> |  |  |  |             <if test="action != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="name != null">name = #{name},</if> |  |  |  |                 action = #{action}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="enable != null">enable = #{enable},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="remark != null">remark = #{remark},</if> |  |  |  |             <if test="name != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="mainAction != null">mainAction = #{mainAction},</if> |  |  |  |                 name = #{name}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="localAction != null">localAction=#{localAction},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkEnable != null">checkEnable=#{checkEnable},</if> |  |  |  |             <if test="enable != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="genUnit != null">genUnit=#{genUnit},</if> |  |  |  |                 enable = #{enable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="innerOrder != null">innerOrder=#{innerOrder},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckEnable != null">secCheckEnable=#{secCheckEnable},</if> |  |  |  |             <if test="remark != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkUdims != null">checkUdims=#{checkUdims},</if> |  |  |  |                 remark = #{remark}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkPdaEd != null">checkPdaEd=#{checkPdaEd},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkPdaUn != null">checkPdaUn=#{checkPdaUn},</if> |  |  |  |             <if test="mainAction != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkPc != null">checkPc=#{checkPc},</if> |  |  |  |                 mainAction = #{mainAction}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkWebNew != null">checkWebNew=#{checkWebNew},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkChange != null">checkChange=#{checkChange},</if> |  |  |  |             <if test="localAction != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkSp != null">checkSp=#{checkSp},</if> |  |  |  |                 localAction=#{localAction}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckUdims != null">secCheckUdims=#{secCheckUdims},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckPdaEd != null">secCheckPdaEd=#{secCheckPdaEd},</if> |  |  |  |             <if test="checkEnable != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckPdaUn != null">secCheckPdaUn=#{secCheckPdaUn},</if> |  |  |  |                 checkEnable=#{checkEnable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckPc != null">secCheckPc=#{secCheckPc},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckWebNew != null">secCheckWebNew=#{secCheckWebNew},</if> |  |  |  |             <if test="genUnit != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckChange != null">secCheckChange=#{secCheckChange},</if> |  |  |  |                 genUnit=#{genUnit}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkBalacne != null">checkBalacne=#{checkBalacne},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckBalacne != null">secCheckBalacne=#{secCheckBalacne},</if> |  |  |  |             <if test="innerOrder != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckSp != null">secCheckSp=#{secCheckSp},</if> |  |  |  |                 innerOrder=#{innerOrder}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="index != null">index=#{index},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="corpType != null">corpType=#{corpType},</if> |  |  |  |             <if test="secCheckEnable != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="storageCode != null">storageCode=#{storageCode},</if> |  |  |  |                 secCheckEnable=#{secCheckEnable}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="supplementOrderType != null">supplementOrderType=#{supplementOrderType},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="defaultUnit != null">defaultUnit=#{defaultUnit},</if> |  |  |  |             <if test="checkUdims != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="useDyCount != null">useDyCount=#{useDyCount},</if> |  |  |  |                 checkUdims=#{checkUdims}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="expireTip != null">expireTip=#{expireTip},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="updateTime != null">updateTime=#{updateTime},</if> |  |  |  |             <if test="checkPdaEd != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="ullageFill != null">ullageFill=#{ullageFill},</if> |  |  |  |                 checkPdaEd=#{checkPdaEd}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="scanPreIn != null">scanPreIn=#{scanPreIn},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="vailInv != null">vailInv=#{vailInv},</if> |  |  |  |             <if test="checkPdaUn != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="prefix != null">prefix=#{prefix},</if> |  |  |  |                 checkPdaUn=#{checkPdaUn}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="codeFillCheck != null">codeFillCheck=#{codeFillCheck},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="defaultSubInv != null">defaultSubInv=#{defaultSubInv},</if> |  |  |  |             <if test="checkPc != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="defaultInv != null">defaultInv=#{defaultInv},</if> |  |  |  |                 checkPc=#{checkPc}, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="checkWebNew != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 checkWebNew=#{checkWebNew}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="checkChange != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 checkChange=#{checkChange}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="checkSp != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 checkSp=#{checkSp}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckUdims != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckUdims=#{secCheckUdims}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckPdaEd != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckPdaEd=#{secCheckPdaEd}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckPdaUn != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckPdaUn=#{secCheckPdaUn}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckPc != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckPc=#{secCheckPc}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckWebNew != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckWebNew=#{secCheckWebNew}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckChange != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckChange=#{secCheckChange}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="checkBalacne != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 checkBalacne=#{checkBalacne}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckBalacne != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckBalacne=#{secCheckBalacne}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckSp != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckSp=#{secCheckSp}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="index != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 index=#{index}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="corpType != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 corpType=#{corpType}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="storageCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 storageCode=#{storageCode}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="supplementOrderType != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 supplementOrderType=#{supplementOrderType}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="defaultUnit != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 defaultUnit=#{defaultUnit}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="useDyCount != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 useDyCount=#{useDyCount}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="expireTip != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 expireTip=#{expireTip}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="updateTime != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 updateTime=#{updateTime}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="ullageFill != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 ullageFill=#{ullageFill}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="scanPreIn != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 scanPreIn=#{scanPreIn}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="vailInv != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 vailInv=#{vailInv}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="prefix != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 prefix=#{prefix}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="codeFillCheck != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 codeFillCheck=#{codeFillCheck}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="defaultSubInv != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 defaultSubInv=#{defaultSubInv}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="defaultInv != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 defaultInv=#{defaultInv}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="outTospms != null">outTospms=#{outTospms}, |  |  |  |             <if test="outTospms != null"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 outTospms=#{outTospms}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="entrutSpms != null">entrutSpms=#{entrutSpms},</if> |  |  |  |             <if test="entrutSpms != null"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="orderVisibleType != null">orderVisibleType=#{orderVisibleType},</if> |  |  |  |                 entrutSpms=#{entrutSpms}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkCopy != null">checkCopy=#{checkCopy},</if> |  |  |  |             </if> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="secCheckCopy != null">secCheckCopy=#{secCheckCopy},</if> |  |  |  |             <if test="orderVisibleType != null"> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 orderVisibleType=#{orderVisibleType}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="checkCopy != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 checkCopy=#{checkCopy}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="secCheckCopy != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 secCheckCopy=#{secCheckCopy}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="vailDispatch != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 vailDispatch=#{vailDispatch}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="vailGroupBuy != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 vailGroupBuy=#{vailGroupBuy}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             thirdSysFk=#{thirdSysFk}, |  |  |  |             thirdSysFk=#{thirdSysFk}, | 
			
		
	
		
		
			
				
					
					|  |  |  |         </trim> |  |  |  |         </trim> | 
			
		
	
	
		
		
			
				
					|  |  | @ -400,8 +575,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         select name, action |  |  |  |         select name, action | 
			
		
	
		
		
			
				
					
					|  |  |  |         from basic_bussiness_type |  |  |  |         from basic_bussiness_type | 
			
		
	
		
		
			
				
					
					|  |  |  |         where mainAction = #{mainAction} |  |  |  |         where mainAction = #{mainAction} | 
			
		
	
		
		
			
				
					
					|  |  |  |           and ( supplementOrderType is null |  |  |  |           and (supplementOrderType is null | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |            or supplementOrderType = '') |  |  |  |             or supplementOrderType = '') | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           and corpType = 1 |  |  |  |           and corpType = 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |