日志按創建時間排序
This commit is contained in:
parent
b5f679d45c
commit
86193cadba
|
@ -112,12 +112,12 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 分页查询列表 采用like格式 -->
|
<!-- 分页查询列表 采用like格式 -->
|
||||||
<select id="entity_list_like" resultMap="get-MdmModuleSendLogEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleSendLog.entity.MdmModuleSendLogEntity">
|
<select id="entity_list_like" resultMap="get-MdmModuleSendLogEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleSendLog.entity.MdmModuleSendLogEntity">
|
||||||
select
|
select
|
||||||
<include refid="MdmModuleSendLogEntity_Base_Column_List" />
|
<include refid="MdmModuleSendLogEntity_Base_Column_List" />
|
||||||
from ${tableName}
|
from ${tableName}
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="id != null and id != ''"> and id like concat('%',#{id},'%') </if>
|
<if test="id != null and id != ''"> and id like concat('%',#{id},'%') </if>
|
||||||
<if test="formmainId != null and formmainId != ''"> and formmain_id like concat('%',#{formmainId},'%') </if>
|
<if test="formmainId != null and formmainId != ''"> and formmain_id like concat('%',#{formmainId},'%') </if>
|
||||||
<if test="targetApp != null and targetApp != ''"> and target_app like concat('%',#{targetApp},'%') </if>
|
<if test="targetApp != null and targetApp != ''"> and target_app like concat('%',#{targetApp},'%') </if>
|
||||||
<if test="targetApi != null and targetApi != ''"> and target_api like concat('%',#{targetApi},'%') </if>
|
<if test="targetApi != null and targetApi != ''"> and target_api like concat('%',#{targetApi},'%') </if>
|
||||||
|
@ -137,10 +137,11 @@
|
||||||
<if test="org_id != null and org_id != ''"> and org_id like concat('%',#{org_id},'%') </if>
|
<if test="org_id != null and org_id != ''"> and org_id like concat('%',#{org_id},'%') </if>
|
||||||
<if test="companyId != null and companyId != ''"> and company_id like concat('%',#{companyId},'%') </if>
|
<if test="companyId != null and companyId != ''"> and company_id like concat('%',#{companyId},'%') </if>
|
||||||
and sts='Y'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
<if test=" sort == null or sort == ''.toString() "> order by sorts desc</if>
|
<!-- <if test=" sort == null or sort == ''.toString() "> order by sorts desc</if>-->
|
||||||
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
<!-- <if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>-->
|
||||||
</select>
|
<if test="create_time == null">order by create_time desc</if>
|
||||||
|
</select>
|
||||||
|
|
||||||
<!-- 查询列表 字段采用or格式 -->
|
<!-- 查询列表 字段采用or格式 -->
|
||||||
<select id="MdmModuleSendLogentity_list_or" resultMap="get-MdmModuleSendLogEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleSendLog.entity.MdmModuleSendLogEntity">
|
<select id="MdmModuleSendLogentity_list_or" resultMap="get-MdmModuleSendLogEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleSendLog.entity.MdmModuleSendLogEntity">
|
||||||
|
|
Loading…
Reference in New Issue