Commit c82ec81e authored by gary's avatar gary

sql debug

parent fe67777b
...@@ -268,6 +268,8 @@ public class Organization implements Serializable { ...@@ -268,6 +268,8 @@ public class Organization implements Serializable {
*/ */
private String vehicleroutinglocation; private String vehicleroutinglocation;
private String vehicleRoutingLocation;
/** /**
* *
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
...@@ -353,6 +355,14 @@ public class Organization implements Serializable { ...@@ -353,6 +355,14 @@ public class Organization implements Serializable {
private BusinessUnit businessUnit; private BusinessUnit businessUnit;
public String getVehicleRoutingLocation() {
return vehicleRoutingLocation;
}
public void setVehicleRoutingLocation(String vehicleRoutingLocation) {
this.vehicleRoutingLocation = vehicleRoutingLocation;
}
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table Organization * This field corresponds to the database table Organization
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<select id="selectByRoleAndServiceTypeWithAssociation" resultMap="ResultMapWithAssociation"> <select id="selectByRoleAndServiceTypeWithAssociation" resultMap="ResultMapWithAssociation">
SELECT SELECT
RP.id AS ID, rp.id AS ID,
rp.roleid AS ROLE_ID, rp.role_id AS ROLE_ID,
rp.permission_id AS PERMISSION_ID, rp.permission_id AS PERMISSION_ID,
r.id AS ROLE_ID, r.id AS ROLE_ID,
r.name AS ROLE_NAME, r.name AS ROLE_NAME,
...@@ -71,14 +71,14 @@ ...@@ -71,14 +71,14 @@
p.id = rp.permission_id p.id = rp.permission_id
where where
rp.role_id= #{roleId,jdbcType=VARCHAR} rp.role_id= #{roleId,jdbcType=VARCHAR}
AND R.service_type_id= #{serviceTypeId,jdbcType=VARCHAR} AND r.service_type_id= #{serviceTypeId,jdbcType=VARCHAR}
</select> </select>
<select id="selectByRoleListAndServiceTypeWithAssociation" resultMap="ResultMapWithAssociation"> <select id="selectByRoleListAndServiceTypeWithAssociation" resultMap="ResultMapWithAssociation">
SELECT SELECT
RP.id AS ID, rp.id AS ID,
rp.role_id, rp.role_id as ROLE_ID,
rp.permission_id, rp.permission_id as PERMISSION_ID,
r.id AS ROLE_ID, r.id AS ROLE_ID,
r.name AS ROLE_NAME, r.name AS ROLE_NAME,
r.description AS ROLE_DESCRIPTION, r.description AS ROLE_DESCRIPTION,
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
p.id = rp.permission_id p.id = rp.permission_id
where where
r.service_type_id= #{serviceTypeId,jdbcType=VARCHAR} r.service_type_id= #{serviceTypeId,jdbcType=VARCHAR}
AND RP.role_id in AND rp.role_id in
<foreach close=")" collection="roleList" index="index" item="roleID" open="(" separator=","> <foreach close=")" collection="roleList" index="index" item="roleID" open="(" separator=",">
#{roleID} #{roleID}
</foreach> </foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment