完成运营商operator_id_evcs的增改查
This commit is contained in:
parent
619f9ab0c2
commit
166c9c621d
@ -33,6 +33,7 @@
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="update_by" property="updateBy"/>
|
||||
<result column="remark" property="remark"/>
|
||||
<result column="operator_id_evcs" property="operatorIdEvcs"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
@ -44,7 +45,7 @@
|
||||
xo.maintenance_commission_rate maintenanceCommissionRate,
|
||||
xo.business_license_id businessLicenseId, xo.withdrawal_time withdrawalTime, xo.soc,
|
||||
xo.status, xo.del_flag delFlag, xo.create_time createTime,
|
||||
xo.create_by createBy, xo.update_time updateTime, xo.update_by updateBy, xo.remark
|
||||
xo.create_by createBy, xo.update_time updateTime, xo.update_by updateBy, xo.remark,
|
||||
</sql>
|
||||
|
||||
<insert id="insert" parameterType="com.xhpc.user.domain.XhpcOperator" useGeneratedKeys="true"
|
||||
@ -258,7 +259,8 @@
|
||||
<if test="null != createBy and '' != createBy">create_by = #{createBy},</if>
|
||||
<if test="null != updateTime">update_time = #{updateTime},</if>
|
||||
<if test="null != updateBy and '' != updateBy">update_by = #{updateBy},</if>
|
||||
<if test="null != remark and '' != remark">remark = #{remark}</if>
|
||||
<if test="null != remark and '' != remark">remark = #{remark},</if>
|
||||
<if test="null != operatorIdEvcs and '' != operatorIdEvcs">operator_id_evcs = #{operatorIdEvcs}</if>
|
||||
</set>
|
||||
WHERE operator_id = #{operatorId}
|
||||
</update>
|
||||
@ -276,7 +278,8 @@
|
||||
|
||||
<select id="info" parameterType="java.lang.Long" resultType="java.util.Map">
|
||||
select
|
||||
<include refid="Base_Column_List"/>,
|
||||
<include refid="Base_Column_List"/>
|
||||
xo.operator_id_evcs operatorIdEvcs,
|
||||
xdb.dict_value attributenName,`xa`.merger_name mergerName,
|
||||
GROUP_CONCAT(DISTINCT xi.`url` ORDER BY xi.create_time DESC separator ',') businessLicenseUrl
|
||||
from xhpc_operator `xo`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user