<!--审核展示列表--> <select id="auditResList" resultType="java.util.HashMap"> ...
一:List lt UserVo gt list Param nickName String nickName lt select id list resultMap ResultMap parameterType java.lang.String gt select lt include refid Base Column List gt from t user where del flag l ...
2017-01-20 15:13 0 1573 推荐指数:
<!--审核展示列表--> <select id="auditResList" resultType="java.util.HashMap"> ...
...
<!-- 7.2 foreach(循环List<String>参数) - 作为where中in的条件 --> <select id="getStudentListByClassIds_foreach_list" resultMap ...
1.判断Double类型:<if test="probability != null">probability = #{probability},</if>,在实体类中probability字段是Double类型; 2.判断Integer类型:<if test ...
在<if test=" a != null and a != ' '">中,如果a是字符串类型,这么写是没问题的,但是如果是Integer,Date等其他类型,再进行a !=' ' 的判断,就会出问题,可能不会报错,但是这个<if test></if>里面的内容 ...
使用 <if test="_parameter.containsKey('参数')"> 去判断参数是否存在。 例如: 相关内容参考点击这里 ...
判断参数是否是一个数组: Object.prototype.toString.call(arr) === '[object Array]' ...