在开关阀时刷卡记录中添加用户余额;修改刷卡记录中的刷卡时间格式;刷卡记录倒序

This commit is contained in:
2025-01-07 13:19:52 +08:00
parent 8d6f5216d5
commit c34f3b2a0b
3 changed files with 9 additions and 2 deletions

View File

@ -54,8 +54,8 @@ public class NgCardSwipeRecords extends BaseEntity
private Long deptId;
/** 刷卡时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:MM:SS")
@Excel(name = "刷卡时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "刷卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty("刷卡时间")
private Date cardSwipeTime;

View File

@ -40,6 +40,7 @@
<if test="areaCode != null and areaCode != ''"> and area_code = #{areaCode}</if>
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
</where>
ORDER BY card_swipe_time DESC
</select>
<select id="selectNgCardSwipeRecordsUserList" parameterType="NgCardSwipeRecords" resultMap="NgCardSwipeRecordsResult">