linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
src/main/java/org/springblade/modules/checkInRecords/controller/CheckInRecordsController.java
@@ -23,12 +23,18 @@
import lombok.AllArgsConstructor;
import javax.validation.Valid;
import org.springblade.common.utils.SpringUtils;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.grid.entity.GridEntity;
import org.springblade.modules.grid.entity.GridPatrolRecordEntity;
import org.springblade.modules.grid.service.IGridService;
import org.springblade.modules.police.entity.PoliceAffairsGridEntity;
import org.springblade.modules.police.service.IPoliceAffairsGridService;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.checkInRecords.entity.CheckInRecordsEntity;
@@ -36,6 +42,8 @@
import org.springblade.modules.checkInRecords.wrapper.CheckInRecordsWrapper;
import org.springblade.modules.checkInRecords.service.ICheckInRecordsService;
import org.springblade.core.boot.ctrl.BladeController;
import java.util.List;
/**
 * 打卡记录表 控制器
@@ -90,8 +98,7 @@
   @ApiOperationSupport(order = 4)
   @ApiOperation(value = "新增", notes = "传入checkInRecords")
   public R save(@Valid @RequestBody CheckInRecordsEntity checkInRecords) {
      checkInRecords.setCreateUserId(AuthUtil.getUserId());
      return R.status(checkInRecordsService.save(checkInRecords));
      return R.status(checkInRecordsService.saveCheckInRecords(checkInRecords));
   }
   /**