洪城义警-正式版后台
zengh
2021-06-23 c22d5d29e72befa534f6422ef6df9de8a5d4e368
src/main/java/org/springblade/modules/feedback/mapper/FeedbackMapper.xml
@@ -43,11 +43,25 @@
        <result column="tname" property="tname"/>
    </resultMap>
    <!--自定义分页列表-->
    <select id="selectFeedbackPage" resultMap="feedbackResultMap">
        select * from sys_feedback where is_deleted = 0
        select * from sys_feedback
        where 1=1
        <if test="feedback.status==1">
            and jid is null
        </if>
        <if test="feedback.sname!=null and feedback.sname!=''">
            and sname like concat('%',#{feedback.sname},'%'))
        </if>
        <if test="feedback.beginTime!=null and feedback.beginTime!='' and feedback.beginTime!='undefined'">
            and stime&gt;=#{feedback.beginTime}
        </if>
        <if test="feedback.endTime!=null and feedback.endTime!='' and feedback.endTime!='undefined'">
            and stime&lt;=#{feedback.endTime}
        </if>
    </select>
    <insert id="insertfeed">
       INSERT INTO act_deploy (jid,snumber,sname,addvcd,place,result,describe,type,devicenumber,galarmpeople,phone,stime,
       ctime,feedbackaudio,feedbackvideo,feedbackphoto,jd,wd,tname) VALUES (#{jid},#{snumber},#{sname},#{addvcd},#{place},#{result},#{describe},#{type},