Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
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
Administrator
dsk-cr20g
Commits
827943de
Commit
827943de
authored
Sep 06, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zuhuduan' of
http://192.168.60.201/root/dsk-operate-sys
into zuhuduan
parents
3252878a
09ff2407
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
14 deletions
+30
-14
messages_en_US.properties
dsk-admin/src/main/resources/i18n/messages_en_US.properties
+4
-4
messages_zh_CN.properties
dsk-admin/src/main/resources/i18n/messages_zh_CN.properties
+4
-4
StringUtils.java
...ommon/src/main/java/com/dsk/common/utils/StringUtils.java
+4
-0
JskCombineInfoService.java
.../main/java/com/dsk/jsk/service/JskCombineInfoService.java
+16
-5
SysTenantMapper.xml
...stem/src/main/resources/mapper/system/SysTenantMapper.xml
+2
-1
No files found.
dsk-admin/src/main/resources/i18n/messages_en_US.properties
View file @
827943de
...
@@ -48,7 +48,7 @@ email.code.retry.limit.count=Email code input error {0} times
...
@@ -48,7 +48,7 @@ email.code.retry.limit.count=Email code input error {0} times
email.code.retry.limit.exceed
=
Email code input error {0} times, account locked for {1} minutes
email.code.retry.limit.exceed
=
Email code input error {0} times, account locked for {1} minutes
xcx.code.not.blank
=
Mini program code cannot be blank
xcx.code.not.blank
=
Mini program code cannot be blank
##\u79DF\u6237
##\u79DF\u6237
tenant.number.not.blank
=
company number cannot be blank
company.number.not.blank
=
company number cannot be blank
tenant.not.exists
=
Sorry, your company does not exist. Please contact the administrator
company.not.exists
=
Sorry, your company does not exist. Please contact the administrator
tenant.blocked
=
Sorry, your company is disabled. Please contact the administrator
company.blocked
=
Sorry, your company is disabled. Please contact the administrator
tenant.expired
=
Sorry, your company has expired. Please contact the administrator.
company.expired
=
Sorry, your company has expired. Please contact the administrator.
\ No newline at end of file
\ No newline at end of file
dsk-admin/src/main/resources/i18n/messages_zh_CN.properties
View file @
827943de
...
@@ -48,7 +48,7 @@ email.code.retry.limit.count=\u90AE\u7BB1\u9A8C\u8BC1\u7801\u8F93\u5165\u9519\u8
...
@@ -48,7 +48,7 @@ email.code.retry.limit.count=\u90AE\u7BB1\u9A8C\u8BC1\u7801\u8F93\u5165\u9519\u8
email.code.retry.limit.exceed
=
\u
90AE
\u
7BB1
\u
9A8C
\u
8BC1
\u7801\u
8F93
\u5165\u9519\u
8BEF{0}
\u
6B21
\u
FF0C
\u
5E10
\u6237\u9501\u
5B9A{1}
\u5206\u
949F
email.code.retry.limit.exceed
=
\u
90AE
\u
7BB1
\u
9A8C
\u
8BC1
\u7801\u
8F93
\u5165\u9519\u
8BEF{0}
\u
6B21
\u
FF0C
\u
5E10
\u6237\u9501\u
5B9A{1}
\u5206\u
949F
xcx.code.not.blank
=
\u
5C0F
\u
7A0B
\u
5E8Fcode
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
xcx.code.not.blank
=
\u
5C0F
\u
7A0B
\u
5E8Fcode
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
##\u79DF\u6237
##\u79DF\u6237
tenant.number.not.blank
=
\u
4F01
\u
4E1A
\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
company.number.not.blank
=
\u
4F01
\u
4E1A
\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
tenant.not.exists
=
\u
5BF9
\u
4E0D
\u
8D77,
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
4E0D
\u
5B58
\u5728\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
company.not.exists
=
\u
5BF9
\u
4E0D
\u
8D77,
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
4E0D
\u
5B58
\u5728\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
tenant.blocked
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u7981\u7528\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
company.blocked
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u7981\u7528\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
tenant.expired
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u
8FC7
\u
671F
\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
company.expired
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u
8FC7
\u
671F
\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
\ No newline at end of file
\ No newline at end of file
dsk-common/src/main/java/com/dsk/common/utils/StringUtils.java
View file @
827943de
...
@@ -327,4 +327,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
...
@@ -327,4 +327,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
return
oldStr
.
replace
(
str
,
"<font color='#FF204E'>"
+
str
+
"</font>"
);
return
oldStr
.
replace
(
str
,
"<font color='#FF204E'>"
+
str
+
"</font>"
);
}
}
//去除字符串标红
public
static
String
removeRed
(
String
str
)
{
return
str
.
replace
(
"<font color='#FF204E'>"
,
""
).
replace
(
"</font>"
,
""
);
}
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/service/JskCombineInfoService.java
View file @
827943de
...
@@ -8,6 +8,7 @@ import com.dsk.common.core.domain.R;
...
@@ -8,6 +8,7 @@ import com.dsk.common.core.domain.R;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
com.dsk.common.utils.StringUtils
;
import
com.dsk.jsk.domain.JskCombineBidPageDto
;
import
com.dsk.jsk.domain.JskCombineBidPageDto
;
import
com.dsk.jsk.domain.JskCombineCertificateDto
;
import
com.dsk.jsk.domain.JskCombineCertificateDto
;
import
com.dsk.jsk.domain.JskCombineSearchDto
;
import
com.dsk.jsk.domain.JskCombineSearchDto
;
...
@@ -137,10 +138,15 @@ public class JskCombineInfoService {
...
@@ -137,10 +138,15 @@ public class JskCombineInfoService {
JskCombineWinBidProjectExportVo
vo
=
new
JskCombineWinBidProjectExportVo
();
JskCombineWinBidProjectExportVo
vo
=
new
JskCombineWinBidProjectExportVo
();
vo
.
setId
(
i
+
1
);
vo
.
setId
(
i
+
1
);
vo
.
setBidTime
(
MapUtil
.
getDate
(
list
.
get
(
i
),
"bidTime"
));
vo
.
setBidTime
(
MapUtil
.
getDate
(
list
.
get
(
i
),
"bidTime"
));
vo
.
setCompanyName
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"companyName"
));
if
(
ObjectUtils
.
isEmpty
(
dto
.
getSearchValue
())){
vo
.
setCompanyName
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"companyName"
));
vo
.
setProjectName
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"projectName"
));
}
else
{
vo
.
setCompanyName
(
StringUtils
.
removeRed
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"companyName"
)));
vo
.
setProjectName
(
StringUtils
.
removeRed
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"projectName"
)));
}
vo
.
setStockPercent
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"stockPercent"
));
vo
.
setStockPercent
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"stockPercent"
));
vo
.
setMemberLevel
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"memberLevel"
));
vo
.
setMemberLevel
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"memberLevel"
));
vo
.
setProjectName
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"projectName"
));
vo
.
setBidAmount
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"bidAmount"
));
vo
.
setBidAmount
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"bidAmount"
));
vo
.
setAddress
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"address"
));
vo
.
setAddress
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"address"
));
vo
.
setBoundType
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"boundType"
));
vo
.
setBoundType
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"boundType"
));
...
@@ -156,7 +162,7 @@ public class JskCombineInfoService {
...
@@ -156,7 +162,7 @@ public class JskCombineInfoService {
if
(
ObjectUtils
.
isEmpty
(
dto
.
getPageSize
()))
throw
new
ServiceException
(
"导出条数不能为空!"
);
if
(
ObjectUtils
.
isEmpty
(
dto
.
getPageSize
()))
throw
new
ServiceException
(
"导出条数不能为空!"
);
if
(
dto
.
getPageSize
()
>
2000
)
dto
.
setPageSize
(
2000
);
if
(
dto
.
getPageSize
()
>
2000
)
dto
.
setPageSize
(
2000
);
dto
.
setPageNum
(
1
);
dto
.
setPageNum
(
1
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/
operate/combine/bidPage
"
,
BeanUtil
.
beanToMap
(
dto
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/
nationzj/project/combine/tenderList
"
,
BeanUtil
.
beanToMap
(
dto
,
false
,
false
));
if
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
throw
new
ServiceException
(
"导出失败,系统错误!"
);
if
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
throw
new
ServiceException
(
"导出失败,系统错误!"
);
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
if
(
ObjectUtils
.
isEmpty
(
data
.
get
(
"list"
)))
throw
new
ServiceException
(
"导出失败,系统错误!"
);
if
(
ObjectUtils
.
isEmpty
(
data
.
get
(
"list"
)))
throw
new
ServiceException
(
"导出失败,系统错误!"
);
...
@@ -168,10 +174,15 @@ public class JskCombineInfoService {
...
@@ -168,10 +174,15 @@ public class JskCombineInfoService {
JskCombineBidProjectExportVo
vo
=
new
JskCombineBidProjectExportVo
();
JskCombineBidProjectExportVo
vo
=
new
JskCombineBidProjectExportVo
();
vo
.
setId
(
i
+
1
);
vo
.
setId
(
i
+
1
);
vo
.
setIssueTime
(
MapUtil
.
getDate
(
list
.
get
(
i
),
"issueTime"
));
vo
.
setIssueTime
(
MapUtil
.
getDate
(
list
.
get
(
i
),
"issueTime"
));
vo
.
setTenderee
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"tenderee"
));
if
(
ObjectUtils
.
isEmpty
(
dto
.
getKeys
())){
vo
.
setTenderee
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"tenderee"
));
vo
.
setProjectName
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"projectName"
));
}
else
{
vo
.
setTenderee
(
StringUtils
.
removeRed
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"tenderee"
)));
vo
.
setProjectName
(
StringUtils
.
removeRed
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"projectName"
)));
}
vo
.
setStockPercent
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"stockPercent"
));
vo
.
setStockPercent
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"stockPercent"
));
vo
.
setMemberLevel
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"memberLevel"
));
vo
.
setMemberLevel
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"memberLevel"
));
vo
.
setProjectName
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"projectName"
));
vo
.
setBidAmount
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"bidAmount"
));
vo
.
setBidAmount
(
MapUtil
.
getDouble
(
list
.
get
(
i
),
"bidAmount"
));
vo
.
setAddress
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"address"
));
vo
.
setAddress
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"address"
));
vo
.
setSubjectMatter
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"subjectMatter"
));
vo
.
setSubjectMatter
(
MapUtil
.
getStr
(
list
.
get
(
i
),
"subjectMatter"
));
...
...
dsk-system/src/main/resources/mapper/system/SysTenantMapper.xml
View file @
827943de
...
@@ -6,8 +6,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -6,8 +6,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectTenantList"
resultType=
"com.dsk.system.domain.vo.SysTenantVo"
>
<select
id=
"selectTenantList"
resultType=
"com.dsk.system.domain.vo.SysTenantVo"
>
select t.id, t.tenant_id,t.company_name from sys_tenant t
select t.id, t.tenant_id,t.company_name from sys_tenant t
inner join sys_user t1 on t1.tenant_id=t.tenant_id
inner join sys_user t1 on t1.tenant_id=t.tenant_id
and t1.del_flag=0
where t.del_flag=0
where t.del_flag=0
and t.status=0
and t1.phonenumber=#{username}
and t1.phonenumber=#{username}
order by t1.create_time desc
order by t1.create_time desc
</select>
</select>
...
...
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