kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDepartmentMapper.xml
@@ -51,6 +51,9 @@ <if test="p.updateTime != null and p.updateTime !=''"> and update_time = #{p.updateTime} </if> <if test="p.accountsCount != null and p.accountsCount !=''"> and accounts_count = #{p.accountsCount} </if> </where> </sql> @@ -61,6 +64,7 @@ from sys_department <include refid="where"/> order by id desc limit 1 </select> <!--定义根据-SysDepartment当作查询条件返回对象集合-->