无人机小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wrj-applet-api/target/classes/mapper/TdSysConfigMapper.xml

20 lines
945 B

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.wrj.driver.server.mapper.TdSysConfigMapper">
<update id="updateConfig">
update td_sys_config
<set>
<if test="param.configValue != null"> CONFIG_VALUE = #{param.configValue},</if>
<if test="param.configName != null"> CONFIG_NAME = #{param.configName},</if>
<if test="param.configDesc != null"> CONFIG_DESC = #{param.configDesc},</if>
<if test="param.configType != null"> CONFIG_TYPE = #{param.configType},</if>
<if test="param.configJson != null"> CONFIG_JSON = #{param.configJson},</if>
<if test="param.isActive != null"> IS_ACTIVE = #{param.isActive},</if>
</set>
where CAR_TYPE_ID = #{param.carTypeId} and CONFIG_KEY = #{param.configKey}
</update>
</mapper>