mybatis service層操做,這個返回什麼?

FireByMonthPOJO fireByMonth = new FireByMonthPOJO();app

fireByMonth.setUnitNumber(unitNumber);this

fireByMonth.setYearMonth(date);spa

fireByMonth = this.fireByMonthService.getFireByMonth(fireByMonth);xml


public FireByMonthPOJO getFireByMonth(FireByMonthPOJO fireByMonth);對象

若是mapper.xml裏面對應的查詢結果爲空。這個會返回NULL嗎?事實上返回的不爲NULL,而是每一個屬性都爲NULL的對象。get

相關文章
相關標籤/搜索