Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
4c202f50
Commit
4c202f50
authored
Aug 26, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
8f4a7e95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
BranchCompanyStockApplyInfoMapper.xml
...in/resources/mapper/BranchCompanyStockApplyInfoMapper.xml
+5
-15
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/BranchCompanyStockApplyInfoMapper.xml
View file @
4c202f50
<?xml version="1.0" encoding="UTF-8" ?>
<?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" >
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.xxfc.platform.vehicle.mapper.BranchCompanyStockApplyInfoMapper"
>
<mapper
namespace=
"com.xxfc.platform.vehicle.mapper.BranchCompanyStockApplyInfoMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.xxfc.platform.vehicle.entity.BranchCompanyStockApplyInfo"
>
<!--
WARNING - @mbg.generated
-->
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"name"
property=
"name"
jdbcType=
"VARCHAR"
/>
<result
column=
"tel"
property=
"tel"
jdbcType=
"VARCHAR"
/>
<result
column=
"company_id"
property=
"companyId"
jdbcType=
"INTEGER"
/>
<result
column=
"count"
property=
"count"
jdbcType=
"INTEGER"
/>
<result
column=
"state"
property=
"state"
jdbcType=
"INTEGER"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<select
id=
"selectVoAll"
resultType=
"com.xxfc.platform.vehicle.pojo.BranchCompanyStockApplyInfoVo"
>
<select
id=
"selectVoAll"
resultType=
"com.xxfc.platform.vehicle.pojo.BranchCompanyStockApplyInfoVo"
>
select a.*, b.
company_name
select a.*, b.
`name` as companyName,r.id as companyId
from branch_company_stock_apply_info a
from branch_company_stock_apply_info a
left join `company_base` b on a.company_id = b.id
left join branch_company_stock_info_right r on a.company_base_id=r.id
left join company_base b on b.id=r.company_base_id
order by a.create_time desc
order by a.create_time desc
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment