linwe
2024-01-27 d40f0ec77c41e3e6230d9f3fd59363e87d2cbf74
九小场所
1 files modified
5 ■■■■ changed files
src/main/java/org/springblade/modules/task/service/impl/TaskHotelReportingServiceImpl.java 5 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/service/impl/TaskHotelReportingServiceImpl.java
@@ -19,7 +19,6 @@
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.commons.lang3.StringUtils;
import org.springblade.common.constant.DictConstant;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.modules.place.entity.PlaceEntity;
@@ -62,6 +61,10 @@
    @Override
    public boolean saveHotelReporting(TaskHotelReportingDTO taskHotelReporting) {
        // 九小场所
        if (taskHotelReporting.getEventType().equals(1)) {
            taskHotelReporting.setReportType(7);
        }
        Long aLong = taskService.saveTask(2, DictConstant.HOTEL_SECURITY, 1, "", AuthUtil.getUserId(), taskHotelReporting.getHouseCode(), taskHotelReporting.getReportType());
        if (aLong > 0) {
            // 通过houseCode 获取场所id