Kaynağa Gözat

[操作日志][修改]:list获取问题修复

release_toaliyun_real
Stormeye Wu 7 yıl önce
ebeveyn
işleme
408e782c31
2 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/domain/po/MallUserAction.java
  2. +4
    -4
      mallinkService/src/main/resources/mapper/MallUserActionMapper.xml

+ 1
- 1
mallinkService/src/main/java/com/iformall/domain/po/MallUserAction.java Dosyayı Görüntüle

@@ -44,7 +44,7 @@ public class MallUserAction implements Serializable {
,UserId_ASC("`user_id` ASC"),UserId_DESC("`user_id` DESC")
,Type_ASC("`type` ASC"),Type_DESC("`type` DESC")
,Ip_ASC("`ip` ASC"),Ip_DESC("`ip` DESC")
,Desc_ASC("`action_desc` ASC"),Desc_DESC("`action_desc` DESC")
,ActionDesc_ASC("`action_desc` ASC"),ActionDesc_DESC("`action_desc` DESC")
,ActionTime_ASC("`action_time` ASC"),ActionTime_DESC("`action_time` DESC")
;
private String value;


+ 4
- 4
mallinkService/src/main/resources/mapper/MallUserActionMapper.xml Dosyayı Görüntüle

@@ -6,12 +6,12 @@
<result column="user_id" jdbcType="BIGINT" property="userId" />
<result column="type" jdbcType="INTEGER" property="type" />
<result column="ip" jdbcType="VARCHAR" property="ip" />
<result column="desc" jdbcType="VARCHAR" property="desc" />
<result column="action_desc" jdbcType="VARCHAR" property="actionDesc" />
<result column="action_time" jdbcType="TIMESTAMP" property="actionTime" />
</resultMap>
<sql id="allColumns">
`id`,`user_id`,`type`,`ip`,`desc`,`action_time`
`id`,`user_id`,`type`,`ip`,`action_desc`,`action_time`
</sql>

<sql id="dynamicWhereConditions">
@@ -28,8 +28,8 @@
<if test=" null != ip ">
and `ip` like concat('%', #{ip},'%')
</if>
<if test=" null != desc ">
and `desc` like concat('%', #{desc},'%')
<if test=" null != actionDesc ">
and `action_desc` like concat('%', #{actionDesc},'%')
</if>
<if test=" null != actionTime ">
and `action_time` = #{actionTime}


Yükleniyor…
İptal
Kaydet