소스 검색

工序填报获取填报人语句(getuserInfoByaccount)修改

“zhifk” 2 년 전
부모
커밋
b678211d78
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      blade-service/blade-manager/src/main/java/org/springblade/manager/mapper/WbsTreeContractMapper.xml

+ 2 - 1
blade-service/blade-manager/src/main/java/org/springblade/manager/mapper/WbsTreeContractMapper.xml

@@ -637,6 +637,7 @@
 
 
     <select id="getuserInfoByaccount" resultType="org.springblade.manager.entity.AppUser">
-        SELECT b.* from u_operation_log a,blade_user b where a.operation_account=b.account and a.operation_type=1 and  a.business_id=#{sonId}
+        SELECT b.* from u_operation_log a,blade_user b where a.operation_account=b.account and a.operation_type=1 and  a.business_id like concat('%', #{sonId}, '%')
+        group by b.id
     </select>
 </mapper>