main
吴顺杰 1 month ago
parent 48516cae2d
commit b19eeac59c

@ -67,3 +67,9 @@ spring:
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
# 日志配置
logging:
level:
com.ruoyi: debug
org.springframework: debug

@ -71,3 +71,9 @@ spring:
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
# 日志配置
logging:
level:
com.ruoyi: error
org.springframework: error

@ -34,11 +34,7 @@ server:
# Tomcat启动初始化的线程数默认值10 # Tomcat启动初始化的线程数默认值10
min-spare: 100 min-spare: 100
# 日志配置
logging:
level:
com.ruoyi: debug
org.springframework: warn
# 用户配置 # 用户配置
user: user:
@ -55,7 +51,7 @@ spring:
# 国际化资源文件路径 # 国际化资源文件路径
basename: i18n/messages basename: i18n/messages
profiles: profiles:
active: druid active: prod
# 文件上传 # 文件上传
servlet: servlet:
multipart: multipart:

@ -39,10 +39,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="getScreenArticles" resultType="com.ruoyi.tcZz.domain.reponse.ScreenArticlesResponse"> <select id="getScreenArticles" resultType="com.ruoyi.tcZz.domain.reponse.ScreenArticlesResponse">
SELECT * SELECT *
FROM (SELECT COUNT(*) AS count FROM tc_wpwzlyqk where type =1 and isStatus=1) count, FROM (SELECT COUNT(*) AS count FROM tc_wpwzlyqk where type = 1) count,
(SELECT COUNT(*) AS count1 FROM tc_wpwzlyqk where type=2 and isStatus=1 ) count1, (SELECT COUNT(*) AS count1 FROM tc_wpwzlyqk where type = 2) count1,
(SELECT COUNT(*) AS count2 FROM tc_wpwzlyqk where type=3 and isStatus=1 ) count2; (SELECT COUNT(*) AS count2 FROM tc_wpwzlyqk where type = 3) count2;
</select> </select>
<!-- <select id="getScreenQinglang" resultType="com.ruoyi.tcZz.domain.reponse.ScreenQinglangWeifanResponse">--> <!-- <select id="getScreenQinglang" resultType="com.ruoyi.tcZz.domain.reponse.ScreenQinglangWeifanResponse">-->
<!-- select count1,date_time as dateTime from tc_qlzxxdsjtj--> <!-- select count1,date_time as dateTime from tc_qlzxxdsjtj-->

@ -26,12 +26,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cityName != null and cityName != ''">and city_name like concat('%', #{cityName}, '%')</if> <if test="cityName != null and cityName != ''">and city_name like concat('%', #{cityName}, '%')</if>
<if test="zb != null and zb != ''">and zb = #{zb}</if> <if test="zb != null and zb != ''">and zb = #{zb}</if>
<if test="createBy != null and createBy != ''">and create_by = #{createBy}</if> <if test="createBy != null and createBy != ''">and create_by = #{createBy}</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if> <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''">
and create_time between #{params.beginCreateTime} and #{params.endCreateTime}
</if>
<if test="updateBy != null and updateBy != ''">and update_by = #{updateBy}</if> <if test="updateBy != null and updateBy != ''">and update_by = #{updateBy}</if>
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''">
and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}
</if>
<if test="remark != null and remark != ''">and remark = #{remark}</if> <if test="remark != null and remark != ''">and remark = #{remark}</if>
</where> </where>
order by create_time desc ORDER BY
CAST(zb AS DECIMAL ( 10, 2 )) DESC
</select> </select>
<select id="selectTcFbqkById" parameterType="Long" resultMap="TcFbqkResult"> <select id="selectTcFbqkById" parameterType="Long" resultMap="TcFbqkResult">

Loading…
Cancel
Save