顺序显示

This commit is contained in:
卢序振 2024-08-26 14:54:30 +08:00
parent 6a721ab296
commit 620675ac7f
2 changed files with 31 additions and 11 deletions

View File

@ -43,19 +43,39 @@
resultMap="SpqPollingInfoResult">
<include refid="selectSpqPollingInfoVo"/>
<where>
<if test="imgUrl != null and imgUrl != ''">and p.img_url = #{imgUrl}</if>
<if test="auditType != null and auditType != ''">and p.audit_type = #{auditType}</if>
<if test="inspectionSite != null and inspectionSite != ''">and p.inspection_site = #{inspectionSite}</if>
<if test="inspectionTime != null ">and p.inspection_time = #{inspectionTime}</if>
<if test="endTimeA != null ">and #{endTimeA} &gt;= p.inspection_time</if>
<if test="startTimeA != null ">and #{startTimeA} &lt;= p.inspection_time</if>
<if test="userId != null and userId != ''">and p.user_id = #{userId}</if>
<if test="userName != null and userName != ''">and p.user_name like concat('%', #{userName}, '%')</if>
<if test="ruleId != null and ruleId != ''">and p.rule_id = #{ruleId}</if>
<if test="imgUrl != null and imgUrl != ''">and p.img_url =
#{imgUrl}</if>
<if test="auditType != null and auditType != ''">and p.audit_type =
#{auditType}</if>
<if test="inspectionSite != null and inspectionSite != ''">and p.inspection_site =
#{inspectionSite}</if>
<if test="inspectionTime != null ">and p.inspection_time =
#{inspectionTime}</if>
<if test="endTimeA != null ">and
#{endTimeA}
&gt;=
p
.
inspection_time</if>
<if test="startTimeA != null ">and
#{startTimeA}
&lt;=
p
.
inspection_time</if>
<if test="userId != null and userId != ''">and p.user_id =
#{userId}</if>
<if test="userName != null and userName != ''">and p.user_name like concat('%',
#{userName},
'%'
)</if>
<if test="ruleId != null and ruleId != ''">and p.rule_id =
#{ruleId}</if>
<if test="abnormalBehavior != null and abnormalBehavior != ''">and p.abnormal_behavior =
#{abnormalBehavior}
</if>
</where>
ORDER BY inspection_time desc
</select>
<select id="selectSpqPollingInfoListT" parameterType="com.god.standby.domain.SpqPollingInfo"

View File

@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '' // 网页标题
const port = process.env.port || process.env.npm_config_port || 9407// 端口
const port = process.env.port || process.env.npm_config_port || 80// 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions