|
@@ -19,7 +19,7 @@ public interface ActionLogMapper extends BaseMapper<ActionLog> {
|
|
|
|
|
|
@Select("select a.*,u.`name` userName from action_log a left join `user` u on a.user_id = u.id where code = 'clue' and item_id = #{id}")
|
|
|
List<ActionLog> selectByInfoList(Integer id);
|
|
|
- @Select("select a.*,u.`name` userName from action_log a left join `user` u on a.user_id = u.id where code = 'business' and item_id = #{id}")
|
|
|
+ @Select("select a.*,u.`name` userName from action_log a left join `user` u on a.user_id = u.id where code = 'business' and item_id = #{id} order by creat_time desc")
|
|
|
List<ActionLog> selectByInfoListBusiness(Integer id);
|
|
|
@Select("select a.*,u.`name` userName from action_log a left join `user` u on a.user_id = u.id where code = 'custom' and item_id = #{id}")
|
|
|
List<ActionLog> selectByInfoListCustom(Integer id);
|