2024年10月10日 1.0.4 增加解除绑定页面
parent
a3e9708645
commit
5aae17ea65
Binary file not shown.
Binary file not shown.
@ -0,0 +1,62 @@
|
||||
<?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.UnBindMapper">
|
||||
<select id="getPage" resultType="java.util.Map">
|
||||
SELECT a.vehicleid,
|
||||
a.vehiclecolor,
|
||||
a.wxid,
|
||||
c.wxname,
|
||||
a.ismanager,
|
||||
b.vehicletype,
|
||||
b.phoneNumber,
|
||||
b.freetype,
|
||||
b.freeStartTime,
|
||||
b.freeEndTime,
|
||||
b.freeTimes
|
||||
FROM wx_vehiclewx_bind a
|
||||
LEFT JOIN wx_vehiclebind b ON a.vehicleid = b.vehicleid
|
||||
AND a.vehiclecolor = b.vehiclecolor
|
||||
LEFT JOIN wx_vehiclewxdata c ON a.wxid = c.wxid
|
||||
<where>
|
||||
<if test="params.wxname!=null and params.wxname!=''">
|
||||
<bind name="wxname" value="'%'+params.wxname+'%'"/>
|
||||
and c.wxname like #{wxname}
|
||||
</if>
|
||||
<if test="params.vehicleid!=null and params.vehicleid!=''">
|
||||
<bind name="vehicleid" value="'%'+params.vehicleid+'%'"/>
|
||||
and a.vehicleid like #{vehicleid}
|
||||
</if>
|
||||
<if test="params.vehiclecolor!=null and params.vehiclecolor!=''">
|
||||
and a.vehiclecolor = #{params.vehiclecolor}
|
||||
</if>
|
||||
<if test="params.ismanager!=null and params.ismanager!=''">
|
||||
and a.ismanager = #{params.ismanager}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="getWXCarColorList" resultType="java.util.Map">
|
||||
SELECT *
|
||||
FROM atype_text
|
||||
</select>
|
||||
<select id="getWXCarTypeList" resultType="java.util.Map">
|
||||
SELECT *
|
||||
FROM type_text
|
||||
</select>
|
||||
<delete id="deleteData">
|
||||
DELETE
|
||||
FROM wx_vehiclewx_bind
|
||||
WHERE vehicleid = #{vehicleid}
|
||||
AND vehiclecolor = #{vehiclecolor}
|
||||
AND ismanager = #{ismanager}
|
||||
AND wxid = #{wxid}
|
||||
</delete>
|
||||
<update id="crossData">
|
||||
update wx_vehiclewx_bind set ismanager= 0
|
||||
WHERE vehicleid = #{vehicleid}
|
||||
AND vehiclecolor = #{vehiclecolor}
|
||||
AND ismanager = #{ismanager}
|
||||
AND wxid = #{wxid}
|
||||
</update>
|
||||
</mapper>
|
||||
@ -0,0 +1,6 @@
|
||||
序号 日期 版本号 说明
|
||||
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
File diff suppressed because one or more lines are too long
@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<link rel="icon" href="/favicon.ico"/>
|
||||
|
||||
<title></title>
|
||||
<script type="module" crossorigin src="./assets/index.37b41cbe.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.c4ceb410.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="loading">
|
||||
<div class="loading-wrap">
|
||||
<div class="loading-dots">
|
||||
<span class="dot dot-spin">
|
||||
<i></i>
|
||||
<i></i>
|
||||
<i></i>
|
||||
<i></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="loading-title">
|
||||
正在缓冲...
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="../static/bmapOffline/map_load.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue