bug修复
This commit is contained in:
parent
b4cb89d1a8
commit
32815ac478
|
|
@ -91,4 +91,9 @@ public class ShboxVo
|
|||
*/
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private Long updateUser = SecurityUtils.getUserId();
|
||||
|
||||
/**
|
||||
* 班组id
|
||||
*/
|
||||
private int teamId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="getShboxallLists" resultType="com.bonus.common.entity.bracelet.vo.ShboxVo">
|
||||
select * from (
|
||||
select tsb.id as shboxId,tsb.box_code as shboxCode,tsb.box_name as shboxName,count(tb.id) as shboxBindNum,
|
||||
tsb.box_capacity as shboxCapacity,twt.team_leader as lyName,
|
||||
tsb.box_capacity as shboxCapacity,twt.team_leader as lyName,tsb.team_id as teamId,
|
||||
case
|
||||
when twt.team_leader is not null and twt.team_leader != '' then tsb.team_id = 0 and tsb.team_id
|
||||
else 1
|
||||
|
|
@ -450,4 +450,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</foreach>
|
||||
order by tb.id ASC
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue