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
b5429461
Commit
b5429461
authored
Nov 28, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用远程dev覆盖本地dev
parent
a028908b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
14 deletions
+36
-14
OrderAccountMapper.xml
...r-server/src/main/resources/mapper/OrderAccountMapper.xml
+22
-1
UploadService.java
...va/com/xxfc/platform/universal/service/UploadService.java
+1
-2
VehicleFeign.java
...in/java/com/xxfc/platform/vehicle/feign/VehicleFeign.java
+10
-8
BranchCompanyBiz.java
.../java/com/xxfc/platform/vehicle/biz/BranchCompanyBiz.java
+2
-2
VehicleBiz.java
...c/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
+1
-1
No files found.
xx-order/xx-order-server/src/main/resources/mapper/OrderAccountMapper.xml
View file @
b5429461
...
@@ -50,7 +50,28 @@
...
@@ -50,7 +50,28 @@
<if
test=
"subdivide !=null and subdivide ==1"
>
<if
test=
"subdivide !=null and subdivide ==1"
>
AND date( FROM_UNIXTIME( a.crt_time / 1000 ) ) = date( DATE_SUB( now( ), INTERVAL #{day} DAY ) )
AND date( FROM_UNIXTIME( a.crt_time / 1000 ) ) = date( DATE_SUB( now( ), INTERVAL #{day} DAY ) )
</if>
</if>
</select>
<select
id=
"outStatisticalData"
resultType=
"com.xxfc.platform.order.pojo.ReturnOrderAmount"
>
select oa.crt_time as time ,oupc.no,oupc.type,oa.account_detail as accountDetail ,oupc.realname,oupc.username,oa.account_type
from order_account oa
left join order_user_position_company oupc ON oa.order_id=oupc.id
WHERE oa.account_type!=101
<if
test=
"startTime != null"
>
and oa.crt_time
<![CDATA[>=]]>
#{startTime}
</if>
<if
test=
"endTime != null"
>
and oa.crt_time
<![CDATA[<=]]>
#{endTime}
</if>
<if
test=
"queryCriteria.jurisdiction != null and queryCriteria.jurisdiction.size() !=0 "
>
and oupc.company_id in
<foreach
collection=
"queryCriteria.jurisdiction"
index=
"index"
item=
"companyId"
open=
"("
separator=
","
close=
")"
>
#{companyId}
</foreach>
</if>
<if
test=
"queryCriteria.orderType != null"
>
and oupc.type = #{queryCriteria.orderType}
</if>
order by oa.crt_time DESC
</select>
</select>
<select
id=
"selectOrderAccountByOrderTypeAndStartTimeAndEndTime"
<select
id=
"selectOrderAccountByOrderTypeAndStartTimeAndEndTime"
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/UploadService.java
View file @
b5429461
package
com
.
xxfc
.
platform
.
universal
.
service
;
package
com
.
xxfc
.
platform
.
universal
.
service
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.util.process.SystemConfig
;
import
com.github.wxiaoqi.security.common.util.process.SystemConfig
;
import
com.xxfc.platform.universal.constant.RedisKey
;
import
com.xxfc.platform.universal.constant.RedisKey
;
import
com.xxfc.platform.universal.utils.ImgBase64Util
;
import
com.xxfc.platform.universal.utils.ImgBase64Util
;
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/feign/VehicleFeign.java
View file @
b5429461
...
@@ -16,9 +16,7 @@ import org.springframework.cloud.openfeign.FeignClient;
...
@@ -16,9 +16,7 @@ import org.springframework.cloud.openfeign.FeignClient;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
import
java.util.*
;
import
java.util.Map
;
import
java.util.Set
;
/**
/**
* Created by ace on 2017/9/15.
* Created by ace on 2017/9/15.
...
@@ -154,8 +152,10 @@ public interface VehicleFeign {
...
@@ -154,8 +152,10 @@ public interface VehicleFeign {
//cata
//cata
/**
/**
* 查询当前车型拥有的标签
* 查询当前车型拥有的标签
*
* @param ids
* @param ids
* @return
* @return
*/
*/
...
@@ -167,6 +167,7 @@ public interface VehicleFeign {
...
@@ -167,6 +167,7 @@ public interface VehicleFeign {
/**
/**
* 根据位置查询
* 根据位置查询
*
* @param branchCompanyFindDTO
* @param branchCompanyFindDTO
* @return
* @return
*/
*/
...
@@ -179,11 +180,6 @@ public interface VehicleFeign {
...
@@ -179,11 +180,6 @@ public interface VehicleFeign {
@RequestMapping
(
value
=
"/vehicleInfo/bookRecord/update"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/vehicleInfo/bookRecord/update"
,
method
=
RequestMethod
.
POST
)
public
ObjectRestResponse
update
(
@RequestBody
BookRecordUpdateLog
bookRecordUpdateLog
);
public
ObjectRestResponse
update
(
@RequestBody
BookRecordUpdateLog
bookRecordUpdateLog
);
@GetMapping
(
value
=
"/branchCompany/getCompanyIds"
)
RestResponse
<
List
<
Integer
>>
getCompanyIds
(
@RequestParam
(
value
=
"dataZone"
)
String
dataZone
,
@RequestParam
(
value
=
"dataCompany"
)
String
dataCompany
);
@GetMapping
(
value
=
"/bookRecord/get"
)
public
ObjectRestResponse
<
List
<
BookRecordUpdateLog
>>
get
(
@RequestParam
(
value
=
"bookRecordId"
)
Long
bookRecordId
);
/**
/**
* 车型日历价格
* 车型日历价格
...
@@ -200,6 +196,12 @@ public interface VehicleFeign {
...
@@ -200,6 +196,12 @@ public interface VehicleFeign {
@RequestParam
(
value
=
"vehicleModelId"
)
Integer
vehicleModelId
,
@RequestParam
(
value
=
"vehicleModelId"
)
Integer
vehicleModelId
,
@RequestParam
(
value
=
"userId"
)
Integer
userId
);
@RequestParam
(
value
=
"userId"
)
Integer
userId
);
@GetMapping
(
value
=
"/branchCompany/getCompanyIds"
)
RestResponse
<
List
<
Integer
>>
getCompanyIds
(
@RequestParam
(
value
=
"dataZone"
)
String
dataZone
,
@RequestParam
(
value
=
"dataCompany"
)
String
dataCompany
);
@GetMapping
(
value
=
"/bookRecord/get"
)
public
ObjectRestResponse
<
List
<
BookRecordUpdateLog
>>
get
(
@RequestParam
(
value
=
"bookRecordId"
)
Long
bookRecordId
);
@GetMapping
(
"/branchCompany/company_info"
)
@GetMapping
(
"/branchCompany/company_info"
)
Map
<
Integer
,
String
>
findCompanyMap
();
Map
<
Integer
,
String
>
findCompanyMap
();
/**
/**
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/BranchCompanyBiz.java
View file @
b5429461
...
@@ -277,7 +277,7 @@ public class BranchCompanyBiz extends BaseBiz<BranchCompanyMapper, BranchCompany
...
@@ -277,7 +277,7 @@ public class BranchCompanyBiz extends BaseBiz<BranchCompanyMapper, BranchCompany
//文件存放路径
//文件存放路径
String
filePath
=
baseUploadPath
+
realFileRelPath
;
String
filePath
=
baseUploadPath
+
realFileRelPath
;
//将文件写入指定位置
//将文件写入指定位置
//
FileUtils.copyInputStreamToFile(file.getInputStream(), new File(filePath));
FileUtils
.
copyInputStreamToFile
(
file
.
getInputStream
(),
new
File
(
filePath
));
return
RestResponse
.
suc
(
realFileRelPath
);
return
RestResponse
.
suc
(
realFileRelPath
);
}
}
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
View file @
b5429461
...
@@ -129,7 +129,7 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
...
@@ -129,7 +129,7 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
//文件存放路径
//文件存放路径
String
filePath
=
baseUploadPath
+
realFileRelPath
;
String
filePath
=
baseUploadPath
+
realFileRelPath
;
//将文件写入指定位置
//将文件写入指定位置
//
FileUtils.copyInputStreamToFile(file.getInputStream(), new File(filePath));
FileUtils
.
copyInputStreamToFile
(
file
.
getInputStream
(),
new
File
(
filePath
));
return
RestResponse
.
suc
(
realFileRelPath
);
return
RestResponse
.
suc
(
realFileRelPath
);
}
}
...
...
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