|
@@ -136,7 +136,7 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
136
|
136
|
//查看是否领取过授权积分
|
137
|
137
|
QueryWrapper<TaPointsRecords> taPointsRecordsQueryWrapper = new QueryWrapper<>();
|
138
|
138
|
taPointsRecordsQueryWrapper.eq("change_type",CommConstant.POINTS_AUTHORIZE);
|
139
|
|
- taPointsRecordsQueryWrapper.like("change_params","%\""+person.getPersonId()+"\"%");
|
|
139
|
+ taPointsRecordsQueryWrapper.eq("person_id",person.getPersonId());
|
140
|
140
|
List<TaPointsRecords> taPointsRecordsList = taPointsRecordsMapper.selectList(taPointsRecordsQueryWrapper);
|
141
|
141
|
if (taPointsRecordsList.size() < 0){
|
142
|
142
|
//发放积分
|