|
|
@@ -8,6 +8,7 @@ import lombok.RequiredArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.springblade.common.constant.CommonConstant;
|
|
|
+import org.springblade.common.constant.OperationConstant;
|
|
|
import org.springblade.core.mp.support.BladePage;
|
|
|
import org.springblade.core.mp.support.Query;
|
|
|
import org.springblade.core.tool.api.R;
|
|
|
@@ -52,6 +53,8 @@ public class GuestRecordController {
|
|
|
|
|
|
@PostMapping("submit")
|
|
|
public R submit(@RequestBody GuestRecord guestRecord){
|
|
|
+ //园区
|
|
|
+ guestRecord.setTenantType(OperationConstant.ZERO);
|
|
|
if (Objects.isNull(guestRecord.getId())) {
|
|
|
//新增
|
|
|
Long guestAuthId = guestRecord.getGuestAuthId();
|