作者 朱兆平

update: 用户查询接口,返回字段取消password.安全考虑

... ... @@ -31,6 +31,11 @@
user_type, photo, login_ip, login_date, login_flag, create_by, create_date, update_by,
update_date, remarks, del_flag, online, expiry_date
</sql>
<sql id="Safe_Column_List">
id, company_id, office_id, login_name, no, name, email, phone, mobile,
user_type, photo, login_ip, login_date, login_flag, create_by, create_date, update_by,
update_date, remarks, del_flag, online, expiry_date
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
... ... @@ -39,7 +44,7 @@
</select>
<select id="selectAllUser" resultMap="BaseResultMap" parameterType="com.tianbo.warehouse.model.KakoUser" >
select
<include refid="Base_Column_List" />
<include refid="Safe_Column_List" />
from sys_user
<where>
and del_flag= '0'
... ...