天天看點

mybatis **-mapping.xml檔案中if test表達式邏輯判斷“并且”,不能用&&

用&&判斷 報錯如下:

The entity name must immediately follow the ‘&’ in the entity reference

用and 例如: <if test="age!=null and name!=null">

繼續閱讀