| | |
| | | <if test="integral != null"> |
| | | integral, |
| | | </if> |
| | | <if test="level != null"> |
| | | `level`, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides="," > |
| | | |
| | |
| | | </if> |
| | | <if test="integral != null"> |
| | | #{integral,jdbcType=DOUBLE}, |
| | | </if> |
| | | <if test="level != null"> |
| | | #{level,jdbcType=INTEGER}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="integral != null"> |
| | | integral = #{integral,jdbcType=DOUBLE}, |
| | | </if> |
| | | <if test="level != null"> |
| | | `level` = #{level,jdbcType=INTEGER}, |
| | | </if> |
| | | |
| | | </set> |
| | | where id=#{id,jdbcType=VARCHAR} |
| | | </update> |
| | |
| | | t.createUser, |
| | | t.updateUser, |
| | | t.updateTime, |
| | | t.companyId |
| | | t.companyId, |
| | | t.level, |
| | | t.integral, |
| | | su.real_name reporter |
| | | from t_hidden_danger t |
| | | LEFT JOIN sys_users su ON su.user_id = t.createUser |
| | | LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser |
| | | where t.id=#{id} |
| | | </select> |
| | | |
| | |
| | | t.createUser, |
| | | t.updateUser, |
| | | t.updateTime, |
| | | t.companyId |
| | | t.companyId, |
| | | t.level, |
| | | t.integral, |
| | | su.real_name reporter |
| | | from t_hidden_danger t |
| | | LEFT JOIN sys_users su ON su.user_id = t.createUser |
| | | LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser |
| | |
| | | <if test="startTime!= null and endTime!=null and startTime != '' and endTime !=''"> |
| | | and t.createTime BETWEEN #{startTime} and #{endTime} |
| | | </if> |
| | | order by t.createUser desc |
| | | order by t.createTime desc |
| | | </select> |
| | | |
| | | <!--根据ID删除--> |