parent
f53394410b
commit
5c21db0549
|
|
@ -23,6 +23,6 @@ public class RedisConst {
|
||||||
//-------------------有效时间-----------------------
|
//-------------------有效时间-----------------------
|
||||||
public static final Integer TRAN_DICT_EXPIRE = 7; //天
|
public static final Integer TRAN_DICT_EXPIRE = 7; //天
|
||||||
|
|
||||||
public static final Integer ONE_ENGLISH_EXPIRE = 10; //分钟
|
public static final Integer ONE_ENGLISH_EXPIRE = 3; //分钟
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
<if test="en != null and en != ''">and en like "%"#{en}"%"</if>
|
<if test="en != null and en != ''">and en like "%"#{en}"%"</if>
|
||||||
<if test="zh != null and zh != ''">and zh like "%"#{zh}"%"</if>
|
<if test="zh != null and zh != ''">and zh like "%"#{zh}"%"</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectApiEnglishById" parameterType="Long" resultMap="ApiEnglishResult">
|
<select id="selectApiEnglishById" parameterType="Long" resultMap="ApiEnglishResult">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue