Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
Hgs
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
徐州
Hgs
Commits
d5f0fc30
Commit
d5f0fc30
authored
Mar 01, 2021
by
jay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IM需求提交
parent
43c6f328
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
CloudActivityController.java
.../com/house365/web/controller/CloudActivityController.java
+2
-0
addcloud.jsp
...ain/webapp/WEB-INF/views/cloudactivity/pages/addcloud.jsp
+8
-2
CloudActivityImpl.java
...va/com/house365/ws/interfaces/impl/CloudActivityImpl.java
+1
-1
No files found.
house365-hgs-web/src/main/java/com/house365/web/controller/CloudActivityController.java
View file @
d5f0fc30
...
...
@@ -101,6 +101,7 @@ public class CloudActivityController extends BaseController {
/**
* 云迹主动拉取数据列表
*
* @param number
* @param model
* @param request
...
...
@@ -601,6 +602,7 @@ public class CloudActivityController extends BaseController {
completePercent
=
"100"
;
protect
=
redisUtil
.
hasKey
(
"cloud:protect:"
+
activeId
)
?
redisUtil
.
getIntegerByKey
(
"cloud:protect:"
+
activeId
)
:
0
;
done
=
redisUtil
.
hasKey
(
"cloud:done:"
+
activeId
)
?
redisUtil
.
getIntegerByKey
(
"cloud:done:"
+
activeId
)
:
0
;
System
.
out
.
println
(
"activeId==="
+
activeId
+
"---protect---"
+
protect
+
"----done-----"
+
done
);
}
else
{
int
totalNum
=
Integer
.
parseInt
(
total
);
int
percent
=
new
BigDecimal
(
completed
).
divide
(
new
BigDecimal
(
totalNum
),
2
,
...
...
house365-hgs-web/src/main/webapp/WEB-INF/views/cloudactivity/pages/addcloud.jsp
View file @
d5f0fc30
...
...
@@ -148,7 +148,7 @@
清空
</a>
</div>
<div
style=
"margin-left: 180px;"
>
报名时间与访问时间至少选一个。由于CRM限制,访问时间暂时仅限近1
0天
</div>
<div
style=
"margin-left: 180px;"
>
由于CRM限制,访问时间暂时仅限近3
0天
</div>
</div>
</div>
...
...
@@ -214,6 +214,11 @@
}
function
doImport
()
{
var
total
=
$
(
"#total"
).
val
();
if
(
total
==
0
){
alert
(
"没有数据,请重新查询"
);
return
false
;
}
$
(
"#loadingDialog"
).
dialog
({
dialogClass
:
"no-close"
,
autoOpen
:
false
,
...
...
@@ -344,7 +349,7 @@
alert
(
"请填写浏览项目"
);
return
;
}
var
date
=
new
Date
(
new
Date
().
getTime
()
-
(
3
000
*
60
*
60
*
24
*
30
));
var
date
=
new
Date
(
new
Date
().
getTime
()
-
(
1
000
*
60
*
60
*
24
*
30
));
var
seperator
=
"-"
;
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
...
...
@@ -362,6 +367,7 @@
return
;
}
}
if
(
$
(
"#totalPriceMin"
).
val
()
&&
!
$
(
"#totalPriceMax"
).
val
())
{
alert
(
"请填写完整总价范围"
);
return
;
...
...
house365-hgs-ws/src/main/java/com/house365/ws/interfaces/impl/CloudActivityImpl.java
View file @
d5f0fc30
...
...
@@ -448,7 +448,7 @@ public class CloudActivityImpl implements ICloudActivityInterface {
decreaseKey
(
activeId
);
redisUtil
.
addKeyVal
(
"cloud:process:"
+
activeId
,
"1"
);
}
System
.
out
.
println
(
"cloudPull : "
+
activeId
+
"--------count1---------"
+
count1
+
" ---------count2--------"
+
count2
);
System
.
out
.
println
(
"cloudPull
数目
: "
+
activeId
+
"--------count1---------"
+
count1
+
" ---------count2--------"
+
count2
);
}
//更新云迹活动字段
...
...
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