Prechádzať zdrojové kódy

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

“zhifk” 2 rokov pred
rodič
commit
b678211d78

+ 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>