智慧保安后台管理项目备份
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.business.mapper.BusinessMapper">
 
    <!--工商信息详情-->
    <select id="getBusinessInfo" resultType="org.springblade.modules.business.vo.BusinessVo">
        select
        sb.*,
        si.establishTime establishtime,
        si.registeredCapital registeredcapital,
        si.creditCode creditcode,
        si.business,
        si.business_License businessLicense
            from
        sys_business sb
            right join
        sys_information si
            on
        sb.dept_id = si.departmentid
            where si.departmentid = #{business.deptId}
    </select>
 
</mapper>