Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
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
张杰
Opple-iOS
Commits
54fe9a26
Commit
54fe9a26
authored
Jan 23, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:修复考核分数比较误差
parent
ebc84d85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
AnnouncementViewController.m
Class/Announcement/AnnouncementViewController.m
+0
-1
AssessmentViewController.m
.../LearningCenter/OnlineLearning/AssessmentViewController.m
+1
-1
LoginViewController.m
Class/Login/LoginViewController.m
+1
-1
No files found.
Class/Announcement/AnnouncementViewController.m
View file @
54fe9a26
...
...
@@ -257,7 +257,6 @@
page
.
page
=
ONE
;
page
.
rows
=
KROWS
;
_afficheModel
.
page
=
page
;
_afficheModel
.
dayCountEquals
=
20
;
_afficheModel
.
sort
=
@"createDate"
;
_afficheModel
.
order
=
SORTDIRECTION_DESC
;
_afficheModel
.
departIdEquals
=
[
Shoppersmanager
manager
].
Shoppers
.
employee
.
departid
;
...
...
Class/LearningCenter/OnlineLearning/AssessmentViewController.m
View file @
54fe9a26
...
...
@@ -227,7 +227,7 @@
studyResult
.
details
=
(
NSArray
<
TOStudyResultDetailEntity
>*
)
submitAnswerArray
;
studyResult
.
grade
=
[
NSNumber
numberWithInteger
:
allScore
];
//判断考核是否合格
studyResult
.
examResult
=
(
self
.
taskDetails
.
passGrade
<
allScore
)?
@"1"
:
@"0"
;
studyResult
.
examResult
=
(
self
.
taskDetails
.
passGrade
<
=
allScore
)?
@"1"
:
@"0"
;
[
XBLoadingView
showHUDViewWithDefault
];
WS
(
weakSelf
);
NSLog
(
@"%@"
,[[
studyResult
toDictionary
]
JSONString
])
...
...
Class/Login/LoginViewController.m
View file @
54fe9a26
...
...
@@ -456,7 +456,7 @@
if
([
returnValue
[
@"code"
]
isEqualToNumber
:
@0
])
{
NSDictionary
*
dict
=
returnValue
[
@"data"
];
if
(
!
dict
)
{
if
(
!
dict
||
[
dict
isKindOfClass
:[
NSNull
class
]]
)
{
return
;
}
UIAlertController
*
alertVC
=
[
UIAlertController
alertControllerWithTitle
:
@"提示"
message
:[
NSString
stringWithFormat
:
@"发现新版本%@,快去更新吧!"
,
dict
[
@"version"
]]
preferredStyle
:
UIAlertControllerStyleAlert
];
...
...
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