2025年03月03日 1.0.5 增加预存明细,预存剩余次数不从流水中查询,增加预存追加,优化相关逻辑等
parent
5aae17ea65
commit
6571f7211a
@ -0,0 +1,21 @@
|
||||
package com.nmgs.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年03月03日 11:34
|
||||
* @description:
|
||||
*/
|
||||
@TableName("wx_cross_num")
|
||||
@Data
|
||||
public class WxCrossNum {
|
||||
@TableField("vehicleid")
|
||||
private String vehicleid;
|
||||
@TableField("vehiclecolor")
|
||||
private Integer vehiclecolor;
|
||||
@TableField("freetimes")
|
||||
private Integer freetimes;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
package com.nmgs.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年02月28日 8:20
|
||||
* @description: 预存增加次数临时表
|
||||
*/
|
||||
@TableName("wx_pretimesinfo")
|
||||
@Data
|
||||
public class WxPreTimesInfo {
|
||||
@TableField("vehicleid")
|
||||
private String vehicleid;
|
||||
@TableField("vehiclecolor")
|
||||
private Integer vehiclecolor;
|
||||
@TableField("vehicletype")
|
||||
private Integer vehicletype;
|
||||
@TableField("freetype")
|
||||
private Integer freetype;
|
||||
@TableField("freeStartTime")
|
||||
private Date freeStartTime;
|
||||
@TableField("freeEndTime")
|
||||
private Date freeEndTime;
|
||||
@TableField("freeTimes")
|
||||
private Integer freeTimes;
|
||||
@TableField("adduserid")
|
||||
private String adduserid;
|
||||
@TableField("adduser")
|
||||
private String adduser;
|
||||
@TableField("freesta")
|
||||
private String freesta;
|
||||
@TableField("advancefee")
|
||||
private Long advancefee;
|
||||
@TableField("insertTime")
|
||||
private Date insertTime;
|
||||
/**
|
||||
*审核字段 0-未审核 1-通过 2-未通过
|
||||
*/
|
||||
@TableField("iscomplete")
|
||||
private Integer iscomplete;
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.nmgs.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.nmgs.entity.WxCrossNum;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年03月03日 11:36
|
||||
* @description:
|
||||
*/
|
||||
@Mapper
|
||||
public interface WxCrossNumMapper extends BaseMapper<WxCrossNum> {
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.nmgs.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.nmgs.entity.WxPreTimesInfo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年02月28日 9:01
|
||||
* @description:
|
||||
*/
|
||||
@Mapper
|
||||
public interface WxPreTimesInfoMapper extends BaseMapper<WxPreTimesInfo> {
|
||||
List<Map<String, Object>> selectMyList(@Param("vehicleid")String vehicleid, @Param("vehiclecolor")int vehiclecolor);
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nmgs.mapper.WxPreTimesInfoMapper">
|
||||
|
||||
<select id="selectMyList" resultType="java.util.Map">
|
||||
SELECT t.*, t1.TEXT AS platecolorname,
|
||||
t2.TEXT AS typename,
|
||||
t3.TEXT AS freetypename FROM wx_pretimesinfo t
|
||||
|
||||
LEFT JOIN atype_text t1 ON ( t1.VALUE = t.vehiclecolor )
|
||||
LEFT JOIN TYPE_TEXT t2 ON ( t2.VALUE = t.vehicletype )
|
||||
LEFT JOIN wx_freetype_text t3 ON ( t3.VALUE = t.freetype )
|
||||
<where>
|
||||
1=1
|
||||
<if test="vehicleid != null and vehicleid != ''">
|
||||
AND t.vehicleid = '${vehicleid}'
|
||||
</if>
|
||||
<if test="vehiclecolor != null">
|
||||
AND t.vehiclecolor=${vehiclecolor}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
|
||||
ORDER BY insertTime DESC
|
||||
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nmgs.mapper.WxPreTimesInfoMapper">
|
||||
|
||||
<select id="selectMyList" resultType="java.util.Map">
|
||||
SELECT t.*, t1.TEXT AS platecolorname,
|
||||
t2.TEXT AS typename,
|
||||
t3.TEXT AS freetypename FROM wx_pretimesinfo t
|
||||
|
||||
LEFT JOIN atype_text t1 ON ( t1.VALUE = t.vehiclecolor )
|
||||
LEFT JOIN TYPE_TEXT t2 ON ( t2.VALUE = t.vehicletype )
|
||||
LEFT JOIN wx_freetype_text t3 ON ( t3.VALUE = t.freetype )
|
||||
<where>
|
||||
1=1
|
||||
<if test="vehicleid != null and vehicleid != ''">
|
||||
AND t.vehicleid = '${vehicleid}'
|
||||
</if>
|
||||
<if test="vehiclecolor != null">
|
||||
AND t.vehiclecolor=${vehiclecolor}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
|
||||
ORDER BY insertTime DESC
|
||||
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
序号 日期 版本号 说明
|
||||
1 2023年11月27日 1.0.0 初始版本号
|
||||
2 2023年11月29日 1.0.1 增加微信解绑申请操作
|
||||
3 2024年04月16日 1.0.2 增加使用次数及剩余次数
|
||||
4 2024年07月02日 1.0.3 优化查询语句
|
||||
5 2024年10月10日 1.0.4 增加解除绑定页面
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nmgs.mapper.WxPreTimesInfoMapper">
|
||||
|
||||
<select id="selectMyList" resultType="java.util.Map">
|
||||
SELECT t.*, t1.TEXT AS platecolorname,
|
||||
t2.TEXT AS typename,
|
||||
t3.TEXT AS freetypename FROM wx_pretimesinfo t
|
||||
|
||||
LEFT JOIN atype_text t1 ON ( t1.VALUE = t.vehiclecolor )
|
||||
LEFT JOIN TYPE_TEXT t2 ON ( t2.VALUE = t.vehicletype )
|
||||
LEFT JOIN wx_freetype_text t3 ON ( t3.VALUE = t.freetype )
|
||||
<where>
|
||||
1=1
|
||||
<if test="vehicleid != null and vehicleid != ''">
|
||||
AND t.vehicleid = '${vehicleid}'
|
||||
</if>
|
||||
<if test="vehiclecolor != null">
|
||||
AND t.vehiclecolor=${vehiclecolor}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
|
||||
ORDER BY insertTime DESC
|
||||
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
序号 日期 版本号 说明
|
||||
1 2023年11月27日 1.0.0 初始版本号
|
||||
2 2023年11月29日 1.0.1 增加微信解绑申请操作
|
||||
3 2024年04月16日 1.0.2 增加使用次数及剩余次数
|
||||
4 2024年07月02日 1.0.3 优化查询语句
|
||||
5 2024年10月10日 1.0.4 增加解除绑定页面
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue