| | |
| | | </update> |
| | | |
| | | <select id="getByAccount" resultType="user"> |
| | | select |
| | | <include refid="Base_Column_List_With_Pwd" /> |
| | | from sys_user where account = #{account} and status != 3 |
| | | select * |
| | | from sys_user |
| | | where account = #{account} |
| | | and status != 3 |
| | | </select> |
| | | |
| | | <!--根据角色判断菜单有"首页"的数量--> |
| | |
| | | <if test="beginTime != null and beginTime != '' and endTime != null and endTime != ''"> |
| | | and (o.createTime between CONCAT(#{beginTime},' 00:00:00') and CONCAT(#{endTime},' 23:59:59')) |
| | | </if> |
| | | <if test="null != objectId"> |
| | | and o.objectId = #{objectId} |
| | | </if> |
| | | </where> |
| | | order by o.id desc |
| | | </select> |