diff --git a/bonus-modules/bonus-app/src/main/resources/mapper/StayPersonMapper.xml b/bonus-modules/bonus-app/src/main/resources/mapper/StayPersonMapper.xml index 276223f..d0c180b 100644 --- a/bonus-modules/bonus-app/src/main/resources/mapper/StayPersonMapper.xml +++ b/bonus-modules/bonus-app/src/main/resources/mapper/StayPersonMapper.xml @@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ELSE '' END AS idCard FROM tb_bracelet blt - left join tb_sh_box sbx on blt.box_ix=sbx.id and sbx.del_flag = 0 + left join tb_sh_box sbx on blt.box_id=sbx.id and sbx.del_flag = 0 left join t_work_team twt on sbx.team_id = twt.team_id and twt.del_flag= 0 left join tb_project_power tpp on tpp.id=sbx.gt_id and tpp.del_flag = 0 left join tb_people tpe on blt.bid_id=tpe.id and peopel_type=0 and tpe.name is not null and tpe.name!=''