wy vor 2 Jahren
Ursprung
Commit
e20a2247e6

+ 2 - 1
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/wx/services/impl/UserRoleServiceImps.java

@@ -1,6 +1,7 @@
 package com.lc.ibps.wx.services.impl;
 package com.lc.ibps.wx.services.impl;
 
 
 import com.lc.ibps.wx.dao.UserRoleMapper;
 import com.lc.ibps.wx.dao.UserRoleMapper;
+import com.lc.ibps.wx.entity.UserRole;
 import com.lc.ibps.wx.services.UserRoleService;
 import com.lc.ibps.wx.services.UserRoleService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.stereotype.Service;
@@ -15,7 +16,7 @@ public class UserRoleServiceImps implements UserRoleService {
 
 
     @Override
     @Override
     public String findUserRole(String userid) {
     public String findUserRole(String userid) {
-        List<com.lc.ibps.wx.entity.UserRole> userRoleList = userRoleMapper.findByUserId(userid);
+        List<UserRole> userRoleList = userRoleMapper.findByUserId(userid);
         String str = new String();
         String str = new String();
         for (int i = 0;i<userRoleList.size();i++){
         for (int i = 0;i<userRoleList.size();i++){
             if(i==userRoleList.size()-1){
             if(i==userRoleList.size()-1){

+ 1 - 1
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/klimsibps/mapping/Employee.xml

@@ -13,6 +13,6 @@
     </sql>
     </sql>
 
 
     <select id="findByName" resultMap="UserRole">
     <select id="findByName" resultMap="UserRole">
-        select (<include refid="columns"/>) from ibps_party_employee where NAME_ = #{name,jdbcType=VARCHAR} and MOBILE_ = #{mobile,jdbcType=VARCHAR}
+        select <include refid="columns"/> from ibps_party_employee where NAME_ = #{name,jdbcType=VARCHAR} and MOBILE_ = #{mobile,jdbcType=VARCHAR}
     </select>
     </select>
 </mapper>
 </mapper>

+ 1 - 3
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/klimsibps/mapping/FileAttachment.xml

@@ -12,9 +12,7 @@
     </sql>
     </sql>
 
 
     <select id="findByid" resultMap="FileAttachment">
     <select id="findByid" resultMap="FileAttachment">
-        select (<include refid="columns"/>) from ibps_file_attachment where ID_ = #{id,jdbcType=VARCHAR}
-
-
+        select <include refid="columns"/> from ibps_file_attachment where ID_ = #{id,jdbcType=VARCHAR}
     </select>
     </select>
 
 
 
 

+ 1 - 1
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/klimsibps/mapping/UserRole.xml

@@ -14,7 +14,7 @@
     </sql>
     </sql>
 
 
     <select id="findByUserId" resultMap="UserRole">
     <select id="findByUserId" resultMap="UserRole">
-        select (<include refid="columns"/>) from ibps_party_user_role where USER_ID_ = #{userId,jdbcType=VARCHAR}
+        select <include refid="columns"/> from ibps_party_user_role where USER_ID_ = #{userId,jdbcType=VARCHAR}
 
 
 
 
     </select>
     </select>

+ 1 - 1
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/klimsibps/mapping/UserSituation.xml

@@ -13,7 +13,7 @@
     </sql>
     </sql>
 
 
     <select id="findByUserId" resultMap="UserSituation">
     <select id="findByUserId" resultMap="UserSituation">
-        select (<include refid="columns"/>) from t_ryjbqk where ID_ = #{userId,jdbcType=VARCHAR}
+        select <include refid="columns"/> from t_ryjbqk where ID_ = #{userId,jdbcType=VARCHAR}
     </select>
     </select>
 
 
 </mapper>
 </mapper>