数据bug修改

This commit is contained in:
haozq 2024-10-25 10:31:23 +08:00
parent e35d650d85
commit 0d1728aec0
2 changed files with 4 additions and 2 deletions

View File

@ -22,6 +22,8 @@ public class BraceletEntity {
*/
private int boxNum;
private String shName;
/**
* 总容量
*/

View File

@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
</select>
<select id="getBoxInfo" resultType="com.bonus.app.entity.BraceletEntity">
select blt.sh_code shCode,blt.id devId,peopel_type userType, blt.bid_id userId,
select blt.sh_code shCode,blt.id devId,peopel_type userType, blt.bid_id userId,blt.sh_name,shName,
tpp.lat sgLat ,tpp.lon sgLon,team.team_name teamName,blt.face_status faceStatus,
case
WHEN peopel_type=0 then tpe.name
@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
</select>
<select id="getBoxInfoBid" resultType="com.bonus.app.entity.BraceletEntity">
select blt.sh_code shCode,blt.id devId,peopel_type userType, blt.bid_id userId,
select blt.sh_code shCode,blt.id devId,peopel_type userType, blt.bid_id userId,blt.sh_name,shName,
tpp.lat sgLat ,tpp.lon sgLon,blt.face_status faceStatus,
case
WHEN peopel_type=0 then tpe.name