material screen

This commit is contained in:
sxu 2024-09-26 09:31:20 +08:00
parent 28f2d277db
commit 36c9926067
3 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@
<artifactId>bonus-modules-material-screen</artifactId>
<description>
bonus-modules-material-bigscreen仓储大屏模块
bonus-modules-material-screen仓储大屏模块
</description>
<dependencies>

View File

@ -2,7 +2,7 @@
spring:
application:
# 应用名称
name: bonus-material-bigscreen
name: bonus-material-screen
profiles:
# 环境配置
active: sgzb_bns_local

View File

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"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" />
<result property="configName" column="config_name" />
<result property="configKey" column="config_key" />
@ -33,12 +33,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
</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="sqlwhereSearch"/>
</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"/>
<where>
<if test="configName != null and configName != ''">
@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where config_key = #{configKey} limit 1
</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 (
<if test="configName != null and configName != '' ">config_name,</if>
<if test="configKey != null and configKey != '' ">config_key,</if>
@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateConfig" parameterType="com.bonus.material.bigscreen.domain.BmConfig">
<update id="updateConfig" parameterType="com.bonus.material.screen.domain.BmConfig">
update sys_config
<set>
<if test="configName != null and configName != ''">config_name = #{configName},</if>