Commit c26ecb82 by zhangjing

fixed 订单管理/未知订单管理

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23820 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6e69cf96
......@@ -12,6 +12,7 @@ public class SysOrganization {
private Integer parentId;
private String name;
private String serviceName;
private Byte orgStatus;
......@@ -59,6 +60,14 @@ public class SysOrganization {
return id;
}
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public void setId(Integer id) {
this.id = id;
}
......
......@@ -1219,13 +1219,16 @@
LEFT JOIN sys_manager sm ON sm.user_id = u.id
WHERE u.user_type = 1
and u.user_status='sys_user_status_normal'
<if test="orgId != null">
and u.group_id = #{orgId,jdbcType=INTEGER}
<if test="id != 0 and id!=''">
</if>
<if test="id != 0">
AND uo.user_id = #{id,jdbcType=INTEGER}
</if>
<if test="name != null and name!=''">
AND sm.provider_name LIKE "%"#{name,jdbcType=VARCHAR}"%"
<if test="name != null and name != ''">
AND sm.provider_name LIKE concat('%',#{name,jdbcType=VARCHAR},'%')
</if>
Limit 50
</select>
<resultMap type="com.glsx.usercenter.pojo.menu.SysOrganization" id="sysOrganizationMap">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!