|
@@ -92,6 +92,9 @@ public class TaBuildingDynamicController extends BaseController {
|
92
|
92
|
|
93
|
93
|
@Autowired
|
94
|
94
|
private TaMiniappQrcodeMapper taMiniappQrcodeMapper;
|
|
95
|
+
|
|
96
|
+ @Autowired
|
|
97
|
+ private ITaPointsRecordsService taPointsRecordsService;
|
95
|
98
|
|
96
|
99
|
@InitBinder
|
97
|
100
|
protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception {
|
|
@@ -306,6 +309,8 @@ public class TaBuildingDynamicController extends BaseController {
|
306
|
309
|
if(taActivityDynamicEnlistMapper.updateById(enlist)>0){
|
307
|
310
|
if (tempIsCheckin.intValue() == CommConstant.STATUS_UNACCALIMED.intValue()){
|
308
|
311
|
applicationContext.publishEvent(new EventBus(enlist,ActivityCheckin,getOrgId(request)));
|
|
312
|
+ Integer rulePoints = taPointsRecordsService.getRulePoints(CommConstant.POINTS_CHANGE_ACTIVITY_CHECKIN, getOrgId(request));
|
|
313
|
+ enlist.setAddPoints(rulePoints);
|
309
|
314
|
responseBean.addSuccess(enlist);
|
310
|
315
|
}else {
|
311
|
316
|
responseBean.addError("您已签到过");
|