material screen
This commit is contained in:
parent
28f2d277db
commit
36c9926067
|
|
@ -12,7 +12,7 @@
|
||||||
<artifactId>bonus-modules-material-screen</artifactId>
|
<artifactId>bonus-modules-material-screen</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
bonus-modules-material-bigscreen仓储大屏模块
|
bonus-modules-material-screen仓储大屏模块
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: bonus-material-bigscreen
|
name: bonus-material-screen
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: sgzb_bns_local
|
active: sgzb_bns_local
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.bonus.material.bigscreen.mapper.BmConfigMapper">
|
<mapper namespace="com.bonus.material.screen.mapper.BmConfigMapper">
|
||||||
|
|
||||||
<resultMap type="com.bonus.material.bigscreen.domain.BmConfig" id="BmConfigResult">
|
<resultMap type="com.bonus.material.screen.domain.BmConfig" id="BmConfigResult">
|
||||||
<id property="configId" column="config_id" />
|
<id property="configId" column="config_id" />
|
||||||
<result property="configName" column="config_name" />
|
<result property="configName" column="config_name" />
|
||||||
<result property="configKey" column="config_key" />
|
<result property="configKey" column="config_key" />
|
||||||
|
|
@ -33,12 +33,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectConfig" parameterType="com.bonus.material.bigscreen.domain.BmConfig" resultMap="BmConfigResult">
|
<select id="selectConfig" parameterType="com.bonus.material.screen.domain.BmConfig" resultMap="BmConfigResult">
|
||||||
<include refid="selectConfigVo"/>
|
<include refid="selectConfigVo"/>
|
||||||
<include refid="sqlwhereSearch"/>
|
<include refid="sqlwhereSearch"/>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectConfigList" parameterType="com.bonus.material.bigscreen.domain.BmConfig" resultMap="BmConfigResult">
|
<select id="selectConfigList" parameterType="com.bonus.material.screen.domain.BmConfig" resultMap="BmConfigResult">
|
||||||
<include refid="selectConfigVo"/>
|
<include refid="selectConfigVo"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="configName != null and configName != ''">
|
<if test="configName != null and configName != ''">
|
||||||
|
|
@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
where config_key = #{configKey} limit 1
|
where config_key = #{configKey} limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertConfig" parameterType="com.bonus.material.bigscreen.domain.BmConfig">
|
<insert id="insertConfig" parameterType="com.bonus.material.screen.domain.BmConfig">
|
||||||
insert into sys_config (
|
insert into sys_config (
|
||||||
<if test="configName != null and configName != '' ">config_name,</if>
|
<if test="configName != null and configName != '' ">config_name,</if>
|
||||||
<if test="configKey != null and configKey != '' ">config_key,</if>
|
<if test="configKey != null and configKey != '' ">config_key,</if>
|
||||||
|
|
@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateConfig" parameterType="com.bonus.material.bigscreen.domain.BmConfig">
|
<update id="updateConfig" parameterType="com.bonus.material.screen.domain.BmConfig">
|
||||||
update sys_config
|
update sys_config
|
||||||
<set>
|
<set>
|
||||||
<if test="configName != null and configName != ''">config_name = #{configName},</if>
|
<if test="configName != null and configName != ''">config_name = #{configName},</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue