wuxw
2022-05-10 8f61316069a6ffffb0998ed3f498bd4e3acc77e4
service-community/src/main/java/com/java110/community/dao/impl/InitializeBuildingUnitDaoImpl.java
@@ -8,7 +8,7 @@
import com.java110.utils.exception.DAOException;
import com.java110.utils.util.DateUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.java110.core.log.LoggerFactory;
import org.springframework.stereotype.Service;
import java.util.List;
@@ -35,9 +35,9 @@
        int deleteFlag = sqlSessionTemplate.delete("initializeBuildingUnitDaoImpl.deleteBuildingUnit", info);
        if (deleteFlag < 1) {
/*        if (deleteFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "building_unit初始化失败:" + JSONObject.toJSONString(info));
        }
        }*/
        return deleteFlag;
    }
    /**
@@ -51,9 +51,9 @@
        int deleteFlag = sqlSessionTemplate.delete("initializeBuildingUnitDaoImpl.deletefFloor", info);
        if (deleteFlag < 1) {
/*        if (deleteFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "f_floor初始化失败:" + JSONObject.toJSONString(info));
        }
        }*/
        return deleteFlag;
    }
    /**
@@ -67,9 +67,9 @@
        int deleteFlag = sqlSessionTemplate.delete("initializeBuildingUnitDaoImpl.deleteBuildingRoom", info);
        if (deleteFlag < 1) {
 /*       if (deleteFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "f_floor初始化失败:" + JSONObject.toJSONString(info));
        }
        }*/
        return deleteFlag;
    }
@@ -78,9 +78,9 @@
        int deleteFlag = sqlSessionTemplate.delete("initializeBuildingUnitDaoImpl.deleteParkingArea", info);
        if (deleteFlag < 1) {
  /*      if (deleteFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "f_floor初始化失败:" + JSONObject.toJSONString(info));
        }
        }*/
        return deleteFlag;
    }
    /**
@@ -94,9 +94,9 @@
        int deleteFlag = sqlSessionTemplate.delete("initializeBuildingUnitDaoImpl.deleteParkingSpace", info);
        if (deleteFlag < 1) {
  /*      if (deleteFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "f_floor初始化失败:" + JSONObject.toJSONString(info));
        }
        }*/
        return deleteFlag;
    }