@@ -72,7 +72,9 @@ public interface FsUserIntegralLogsMapper
*/
public int deleteFsUserIntegralLogsByIds(Long[] ids);
@Select({"<script> " +
- "select l.*,u.nick_name,u.phone from fs_user_integral_logs l LEFT JOIN fs_user u ON u.user_id=l.user_id "+
+ "select l.id,l.user_id,l.log_type,l.integral,l.balance,l.business_id,l.create_time,l.business_type,l.status,l.phone,l.nick_name,u.nick_name,u.phone " +
+ "from fs_user_integral_logs l " +
+ "LEFT JOIN fs_user u ON u.user_id=l.user_id "+
" <where> \n" +
" <if test=\"userId != null \"> and l.user_id = #{userId}</if>\n" +
" <if test=\"logType != null and logType != ''\"> and log_type = #{logType}</if>\n" +