|
|
@@ -269,549 +269,6 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <insert id="insertPPPPP" parameterType="com.sckw.system.model.KwsEnterprise">
|
|
|
- insert into kws_enterprise
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">
|
|
|
- id,
|
|
|
- </if>
|
|
|
- <if test="firmName != null">
|
|
|
- firm_name,
|
|
|
- </if>
|
|
|
- <if test="code != null">
|
|
|
- code,
|
|
|
- </if>
|
|
|
- <if test="contacts != null">
|
|
|
- contacts,
|
|
|
- </if>
|
|
|
- <if test="telephone != null">
|
|
|
- telephone,
|
|
|
- </if>
|
|
|
- <if test="legalName != null">
|
|
|
- legal_name,
|
|
|
- </if>
|
|
|
- <if test="legalTelephone != null">
|
|
|
- legal_telephone,
|
|
|
- </if>
|
|
|
- <if test="head != null">
|
|
|
- head,
|
|
|
- </if>
|
|
|
- <if test="integral != null">
|
|
|
- integral,
|
|
|
- </if>
|
|
|
- <if test="balance != null">
|
|
|
- balance,
|
|
|
- </if>
|
|
|
- <if test="experience != null">
|
|
|
- experience,
|
|
|
- </if>
|
|
|
- <if test="memberLevel != null">
|
|
|
- member_level,
|
|
|
- </if>
|
|
|
- <if test="regTime != null">
|
|
|
- reg_time,
|
|
|
- </if>
|
|
|
- <if test="regSource != null">
|
|
|
- reg_source,
|
|
|
- </if>
|
|
|
- <if test="orgCode != null">
|
|
|
- org_code,
|
|
|
- </if>
|
|
|
- <if test="cityCode != null">
|
|
|
- city_code,
|
|
|
- </if>
|
|
|
- <if test="detailAddress != null">
|
|
|
- detail_address,
|
|
|
- </if>
|
|
|
- <if test="lat != null">
|
|
|
- lat,
|
|
|
- </if>
|
|
|
- <if test="lng != null">
|
|
|
- lng,
|
|
|
- </if>
|
|
|
- <if test="approval != null">
|
|
|
- approval,
|
|
|
- </if>
|
|
|
- <if test="approvalTime != null">
|
|
|
- approval_time,
|
|
|
- </if>
|
|
|
- <if test="manager != null">
|
|
|
- manager,
|
|
|
- </if>
|
|
|
- <if test="remark != null">
|
|
|
- remark,
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- status,
|
|
|
- </if>
|
|
|
- <if test="createBy != null">
|
|
|
- create_by,
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- create_time,
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
- update_by,
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- update_time,
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
- del_flag,
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">
|
|
|
- #{id,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="firmName != null">
|
|
|
- #{firmName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="code != null">
|
|
|
- #{code,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="contacts != null">
|
|
|
- #{contacts,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="telephone != null">
|
|
|
- #{telephone,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="legalName != null">
|
|
|
- #{legalName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="legalTelephone != null">
|
|
|
- #{legalTelephone,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="head != null">
|
|
|
- #{head,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="integral != null">
|
|
|
- #{integral,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="balance != null">
|
|
|
- #{balance,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="experience != null">
|
|
|
- #{experience,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="memberLevel != null">
|
|
|
- #{memberLevel,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="regTime != null">
|
|
|
- #{regTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="regSource != null">
|
|
|
- #{regSource,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="orgCode != null">
|
|
|
- #{orgCode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="cityCode != null">
|
|
|
- #{cityCode,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="detailAddress != null">
|
|
|
- #{detailAddress,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="lat != null">
|
|
|
- #{lat,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="lng != null">
|
|
|
- #{lng,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="approval != null">
|
|
|
- #{approval,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="approvalTime != null">
|
|
|
- #{approvalTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="manager != null">
|
|
|
- #{manager,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="remark != null">
|
|
|
- #{remark,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- #{status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="createBy != null">
|
|
|
- #{createBy,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- #{createTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
- #{updateBy,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
- #{delFlag,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
- <insert id="insertPPPPP" parameterType="com.sckw.system.model.KwsEnterprise">
|
|
|
- insert into kws_enterprise
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">
|
|
|
- id,
|
|
|
- </if>
|
|
|
- <if test="firmName != null">
|
|
|
- firm_name,
|
|
|
- </if>
|
|
|
- <if test="code != null">
|
|
|
- code,
|
|
|
- </if>
|
|
|
- <if test="contacts != null">
|
|
|
- contacts,
|
|
|
- </if>
|
|
|
- <if test="telephone != null">
|
|
|
- telephone,
|
|
|
- </if>
|
|
|
- <if test="legalName != null">
|
|
|
- legal_name,
|
|
|
- </if>
|
|
|
- <if test="legalTelephone != null">
|
|
|
- legal_telephone,
|
|
|
- </if>
|
|
|
- <if test="head != null">
|
|
|
- head,
|
|
|
- </if>
|
|
|
- <if test="integral != null">
|
|
|
- integral,
|
|
|
- </if>
|
|
|
- <if test="balance != null">
|
|
|
- balance,
|
|
|
- </if>
|
|
|
- <if test="experience != null">
|
|
|
- experience,
|
|
|
- </if>
|
|
|
- <if test="memberLevel != null">
|
|
|
- member_level,
|
|
|
- </if>
|
|
|
- <if test="regTime != null">
|
|
|
- reg_time,
|
|
|
- </if>
|
|
|
- <if test="regSource != null">
|
|
|
- reg_source,
|
|
|
- </if>
|
|
|
- <if test="orgCode != null">
|
|
|
- org_code,
|
|
|
- </if>
|
|
|
- <if test="cityCode != null">
|
|
|
- city_code,
|
|
|
- </if>
|
|
|
- <if test="detailAddress != null">
|
|
|
- detail_address,
|
|
|
- </if>
|
|
|
- <if test="lat != null">
|
|
|
- lat,
|
|
|
- </if>
|
|
|
- <if test="lng != null">
|
|
|
- lng,
|
|
|
- </if>
|
|
|
- <if test="approval != null">
|
|
|
- approval,
|
|
|
- </if>
|
|
|
- <if test="approvalTime != null">
|
|
|
- approval_time,
|
|
|
- </if>
|
|
|
- <if test="manager != null">
|
|
|
- manager,
|
|
|
- </if>
|
|
|
- <if test="remark != null">
|
|
|
- remark,
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- status,
|
|
|
- </if>
|
|
|
- <if test="createBy != null">
|
|
|
- create_by,
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- create_time,
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
- update_by,
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- update_time,
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
- del_flag,
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">
|
|
|
- #{id,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="firmName != null">
|
|
|
- #{firmName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="code != null">
|
|
|
- #{code,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="contacts != null">
|
|
|
- #{contacts,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="telephone != null">
|
|
|
- #{telephone,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="legalName != null">
|
|
|
- #{legalName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="legalTelephone != null">
|
|
|
- #{legalTelephone,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="head != null">
|
|
|
- #{head,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="integral != null">
|
|
|
- #{integral,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="balance != null">
|
|
|
- #{balance,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="experience != null">
|
|
|
- #{experience,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="memberLevel != null">
|
|
|
- #{memberLevel,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="regTime != null">
|
|
|
- #{regTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="regSource != null">
|
|
|
- #{regSource,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="orgCode != null">
|
|
|
- #{orgCode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="cityCode != null">
|
|
|
- #{cityCode,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="detailAddress != null">
|
|
|
- #{detailAddress,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="lat != null">
|
|
|
- #{lat,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="lng != null">
|
|
|
- #{lng,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="approval != null">
|
|
|
- #{approval,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="approvalTime != null">
|
|
|
- #{approvalTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="manager != null">
|
|
|
- #{manager,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="remark != null">
|
|
|
- #{remark,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- #{status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="createBy != null">
|
|
|
- #{createBy,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- #{createTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
- #{updateBy,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
- #{delFlag,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
- <insert id="insertPPPPP" parameterType="com.sckw.system.model.KwsEnterprise">
|
|
|
- insert into kws_enterprise
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">
|
|
|
- id,
|
|
|
- </if>
|
|
|
- <if test="firmName != null">
|
|
|
- firm_name,
|
|
|
- </if>
|
|
|
- <if test="code != null">
|
|
|
- code,
|
|
|
- </if>
|
|
|
- <if test="contacts != null">
|
|
|
- contacts,
|
|
|
- </if>
|
|
|
- <if test="telephone != null">
|
|
|
- telephone,
|
|
|
- </if>
|
|
|
- <if test="legalName != null">
|
|
|
- legal_name,
|
|
|
- </if>
|
|
|
- <if test="legalTelephone != null">
|
|
|
- legal_telephone,
|
|
|
- </if>
|
|
|
- <if test="head != null">
|
|
|
- head,
|
|
|
- </if>
|
|
|
- <if test="integral != null">
|
|
|
- integral,
|
|
|
- </if>
|
|
|
- <if test="balance != null">
|
|
|
- balance,
|
|
|
- </if>
|
|
|
- <if test="experience != null">
|
|
|
- experience,
|
|
|
- </if>
|
|
|
- <if test="memberLevel != null">
|
|
|
- member_level,
|
|
|
- </if>
|
|
|
- <if test="regTime != null">
|
|
|
- reg_time,
|
|
|
- </if>
|
|
|
- <if test="regSource != null">
|
|
|
- reg_source,
|
|
|
- </if>
|
|
|
- <if test="orgCode != null">
|
|
|
- org_code,
|
|
|
- </if>
|
|
|
- <if test="cityCode != null">
|
|
|
- city_code,
|
|
|
- </if>
|
|
|
- <if test="detailAddress != null">
|
|
|
- detail_address,
|
|
|
- </if>
|
|
|
- <if test="lat != null">
|
|
|
- lat,
|
|
|
- </if>
|
|
|
- <if test="lng != null">
|
|
|
- lng,
|
|
|
- </if>
|
|
|
- <if test="approval != null">
|
|
|
- approval,
|
|
|
- </if>
|
|
|
- <if test="approvalTime != null">
|
|
|
- approval_time,
|
|
|
- </if>
|
|
|
- <if test="manager != null">
|
|
|
- manager,
|
|
|
- </if>
|
|
|
- <if test="remark != null">
|
|
|
- remark,
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- status,
|
|
|
- </if>
|
|
|
- <if test="createBy != null">
|
|
|
- create_by,
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- create_time,
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
- update_by,
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- update_time,
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
- del_flag,
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">
|
|
|
- #{id,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="firmName != null">
|
|
|
- #{firmName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="code != null">
|
|
|
- #{code,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="contacts != null">
|
|
|
- #{contacts,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="telephone != null">
|
|
|
- #{telephone,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="legalName != null">
|
|
|
- #{legalName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="legalTelephone != null">
|
|
|
- #{legalTelephone,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="head != null">
|
|
|
- #{head,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="integral != null">
|
|
|
- #{integral,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="balance != null">
|
|
|
- #{balance,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="experience != null">
|
|
|
- #{experience,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="memberLevel != null">
|
|
|
- #{memberLevel,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="regTime != null">
|
|
|
- #{regTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="regSource != null">
|
|
|
- #{regSource,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="orgCode != null">
|
|
|
- #{orgCode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="cityCode != null">
|
|
|
- #{cityCode,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="detailAddress != null">
|
|
|
- #{detailAddress,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="lat != null">
|
|
|
- #{lat,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="lng != null">
|
|
|
- #{lng,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="approval != null">
|
|
|
- #{approval,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="approvalTime != null">
|
|
|
- #{approvalTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="manager != null">
|
|
|
- #{manager,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="remark != null">
|
|
|
- #{remark,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- #{status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="createBy != null">
|
|
|
- #{createBy,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- #{createTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
- #{updateBy,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
- #{delFlag,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
|
|
|
<update id="update" parameterType="com.sckw.system.model.KwsEnterprise">
|
|
|
update kws_enterprise
|