Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
total
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
张杰
total
Commits
69a02421
Commit
69a02421
authored
Jan 09, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:修复油价显示bug
parent
8499858c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
214 additions
and
85 deletions
+214
-85
project.pbxproj
total.xcodeproj/project.pbxproj
+26
-6
NewObtainViewController.m
total/GTOApp/Business/NewObtainViewController.m
+3
-0
NewRequestViewController.m
total/GTOApp/Business/NewRequestViewController.m
+11
-4
QueryModel.h
total/GTOApp/Business/QueryModel.h
+46
-0
QueryModel.m
total/GTOApp/Business/QueryModel.m
+41
-0
SeePriceViewController.m
total/GTOApp/Business/SeePriceViewController.m
+82
-68
PromptTableViewController.m
total/GTOApp/UserUtil/PromptTableViewController.m
+1
-0
Info.plist
total/Info.plist
+2
-2
GTOAppMacro.h
total/Macro/GTOAppMacro.h
+2
-5
No files found.
total.xcodeproj/project.pbxproj
View file @
69a02421
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
2933CC571D213377000F8EE6
/* OrderDetailsViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC561D213377000F8EE6
/* OrderDetailsViewController.m */
;
};
2933CC571D213377000F8EE6
/* OrderDetailsViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC561D213377000F8EE6
/* OrderDetailsViewController.m */
;
};
2933CC5B1D213AF2000F8EE6
/* SelectOrderViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
;
};
2933CC5B1D213AF2000F8EE6
/* SelectOrderViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
;
};
2933CC5F1D213C41000F8EE6
/* SelectOrderTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
;
};
2933CC5F1D213C41000F8EE6
/* SelectOrderTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
;
};
293ADF491E23726D005C1AEB
/* NSDictionary+Category.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
293ADF481E23726D005C1AEB
/* NSDictionary+Category.m */
;
};
293ADF4D1E2372E8005C1AEB
/* QueryModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
293ADF4C1E2372E8005C1AEB
/* QueryModel.m */
;
};
294137691D50A17900AA86C3
/* SubTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294137681D50A17900AA86C3
/* SubTableViewCell.m */
;
};
294137691D50A17900AA86C3
/* SubTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294137681D50A17900AA86C3
/* SubTableViewCell.m */
;
};
294154321D1CFBDE00B3B761
/* total_objc_json_client.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154311D1CFBDE00B3B761
/* total_objc_json_client.m */
;
};
294154321D1CFBDE00B3B761
/* total_objc_json_client.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154311D1CFBDE00B3B761
/* total_objc_json_client.m */
;
};
294154361D1CFD3000B3B761
/* HttpRequestManager.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154351D1CFD3000B3B761
/* HttpRequestManager.m */
;
};
294154361D1CFD3000B3B761
/* HttpRequestManager.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154351D1CFD3000B3B761
/* HttpRequestManager.m */
;
};
...
@@ -348,6 +350,10 @@
...
@@ -348,6 +350,10 @@
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderViewController.m
;
sourceTree
=
"<group>"
;
};
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderViewController.m
;
sourceTree
=
"<group>"
;
};
2933CC5D1D213C41000F8EE6
/* SelectOrderTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SelectOrderTableViewCell.h
;
sourceTree
=
"<group>"
;
};
2933CC5D1D213C41000F8EE6
/* SelectOrderTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SelectOrderTableViewCell.h
;
sourceTree
=
"<group>"
;
};
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderTableViewCell.m
;
sourceTree
=
"<group>"
;
};
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderTableViewCell.m
;
sourceTree
=
"<group>"
;
};
293ADF471E23726D005C1AEB
/* NSDictionary+Category.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"NSDictionary+Category.h"
;
sourceTree
=
"<group>"
;
};
293ADF481E23726D005C1AEB
/* NSDictionary+Category.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
"NSDictionary+Category.m"
;
sourceTree
=
"<group>"
;
};
293ADF4B1E2372E8005C1AEB
/* QueryModel.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QueryModel.h
;
sourceTree
=
"<group>"
;
};
293ADF4C1E2372E8005C1AEB
/* QueryModel.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QueryModel.m
;
sourceTree
=
"<group>"
;
};
294137671D50A17900AA86C3
/* SubTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SubTableViewCell.h
;
sourceTree
=
"<group>"
;
};
294137671D50A17900AA86C3
/* SubTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SubTableViewCell.h
;
sourceTree
=
"<group>"
;
};
294137681D50A17900AA86C3
/* SubTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SubTableViewCell.m
;
sourceTree
=
"<group>"
;
};
294137681D50A17900AA86C3
/* SubTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SubTableViewCell.m
;
sourceTree
=
"<group>"
;
};
294154301D1CFBDE00B3B761
/* total_objc_json_client.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
total_objc_json_client.h
;
sourceTree
=
"<group>"
;
};
294154301D1CFBDE00B3B761
/* total_objc_json_client.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
total_objc_json_client.h
;
sourceTree
=
"<group>"
;
};
...
@@ -1034,6 +1040,15 @@
...
@@ -1034,6 +1040,15 @@
name
=
view
;
name
=
view
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
293ADF4A1E2372D5005C1AEB
/* Models */
=
{
isa
=
PBXGroup
;
children
=
(
293ADF4B1E2372E8005C1AEB
/* QueryModel.h */
,
293ADF4C1E2372E8005C1AEB
/* QueryModel.m */
,
);
name
=
Models
;
sourceTree
=
"<group>"
;
};
2941542E1D1CFB3300B3B761
/* JSONModel */
=
{
2941542E1D1CFB3300B3B761
/* JSONModel */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -1264,6 +1279,7 @@
...
@@ -1264,6 +1279,7 @@
children
=
(
children
=
(
29F143B31D18E1C800083975
/* SeePriceViewController.h */
,
29F143B31D18E1C800083975
/* SeePriceViewController.h */
,
29F143B41D18E1C800083975
/* SeePriceViewController.m */
,
29F143B41D18E1C800083975
/* SeePriceViewController.m */
,
293ADF4A1E2372D5005C1AEB
/* Models */
,
29F143D21D18F10000083975
/* view */
,
29F143D21D18F10000083975
/* view */
,
);
);
name
=
"SeePrice(查看油品价格)"
;
name
=
"SeePrice(查看油品价格)"
;
...
@@ -1882,6 +1898,8 @@
...
@@ -1882,6 +1898,8 @@
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
3506EDB01BA0194300897EBE
/* NSData+EncodeAdditions.h */
,
3506EDB01BA0194300897EBE
/* NSData+EncodeAdditions.h */
,
293ADF471E23726D005C1AEB
/* NSDictionary+Category.h */
,
293ADF481E23726D005C1AEB
/* NSDictionary+Category.m */
,
3506EDB11BA0194300897EBE
/* NSData+EncodeAdditions.m */
,
3506EDB11BA0194300897EBE
/* NSData+EncodeAdditions.m */
,
3506EDB21BA0194300897EBE
/* NSDate+FormatterAdditions.h */
,
3506EDB21BA0194300897EBE
/* NSDate+FormatterAdditions.h */
,
3506EDB31BA0194300897EBE
/* NSDate+FormatterAdditions.m */
,
3506EDB31BA0194300897EBE
/* NSDate+FormatterAdditions.m */
,
...
@@ -2792,6 +2810,7 @@
...
@@ -2792,6 +2810,7 @@
3506EDD71BA0194300897EBE
/* UIApplication+CheckFirstRun.m in Sources */
,
3506EDD71BA0194300897EBE
/* UIApplication+CheckFirstRun.m in Sources */
,
35EB8E681BE32C2800411E45
/* GTOLicenceBoltView.m in Sources */
,
35EB8E681BE32C2800411E45
/* GTOLicenceBoltView.m in Sources */
,
35E3BB191BF087AE0081232D
/* GTOAlertInfoPatrolPlanViewController.m in Sources */
,
35E3BB191BF087AE0081232D
/* GTOAlertInfoPatrolPlanViewController.m in Sources */
,
293ADF491E23726D005C1AEB
/* NSDictionary+Category.m in Sources */
,
29BE72341D4077BE001D60EE
/* NoteTableViewCell.m in Sources */
,
29BE72341D4077BE001D60EE
/* NoteTableViewCell.m in Sources */
,
3506ED5C1BA0164E00897EBE
/* IBTUITextField.m in Sources */
,
3506ED5C1BA0164E00897EBE
/* IBTUITextField.m in Sources */
,
35EB8E621BE3208500411E45
/* GTOLicence.m in Sources */
,
35EB8E621BE3208500411E45
/* GTOLicence.m in Sources */
,
...
@@ -2805,6 +2824,7 @@
...
@@ -2805,6 +2824,7 @@
35B2E59F1BAC171F00AB8582
/* ICRPlaceholderTextView.m in Sources */
,
35B2E59F1BAC171F00AB8582
/* ICRPlaceholderTextView.m in Sources */
,
35B2E58F1BAC140500AB8582
/* ICRAttachmentUnit.m in Sources */
,
35B2E58F1BAC140500AB8582
/* ICRAttachmentUnit.m in Sources */
,
35D66A401BE75670004476F0
/* GTOLicenceResultTopCellContentView.m in Sources */
,
35D66A401BE75670004476F0
/* GTOLicenceResultTopCellContentView.m in Sources */
,
293ADF4D1E2372E8005C1AEB
/* QueryModel.m in Sources */
,
3506ED4B1BA0164E00897EBE
/* IBTTableViewUserInfo.m in Sources */
,
3506ED4B1BA0164E00897EBE
/* IBTTableViewUserInfo.m in Sources */
,
35B2E5761BAC064600AB8582
/* GTOPatrolPlanInfoItemView.m in Sources */
,
35B2E5761BAC064600AB8582
/* GTOPatrolPlanInfoItemView.m in Sources */
,
29603D831D1CD52B00951670
/* BookingTableViewCell.m in Sources */
,
29603D831D1CD52B00951670
/* BookingTableViewCell.m in Sources */
,
...
@@ -3124,8 +3144,8 @@
...
@@ -3124,8 +3144,8 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
DEVELOPMENT_TEAM
=
""
;
DEVELOPMENT_TEAM
=
""
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -3142,7 +3162,7 @@
...
@@ -3142,7 +3162,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE
=
"
c2d977b5-adac-45f6-bfbb-3a53616b54d7
"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
...
@@ -3157,8 +3177,8 @@
...
@@ -3157,8 +3177,8 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
DEVELOPMENT_TEAM
=
""
;
DEVELOPMENT_TEAM
=
""
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -3175,7 +3195,7 @@
...
@@ -3175,7 +3195,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE
=
"
c2d977b5-adac-45f6-bfbb-3a53616b54d7
"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
...
...
total/GTOApp/Business/NewObtainViewController.m
View file @
69a02421
...
@@ -556,6 +556,9 @@
...
@@ -556,6 +556,9 @@
#pragma mark -删除区
#pragma mark -删除区
-
(
void
)
deleteSectionAction
:
(
UIButton
*
)
btn
-
(
void
)
deleteSectionAction
:
(
UIButton
*
)
btn
{
{
if
(
self
.
tankNumber
<=
1
)
{
[
IBTLoadingView
showTextOnly
:
@"默认保留一个油罐"
];
return
;
}
NSInteger
index
=
btn
.
tag
;
NSInteger
index
=
btn
.
tag
;
UIAlertController
*
alertView
=
[
UIAlertController
alertControllerWithTitle
:
@"提示"
message
:
@"请确认是否删除"
preferredStyle
:
UIAlertControllerStyleAlert
];
UIAlertController
*
alertView
=
[
UIAlertController
alertControllerWithTitle
:
@"提示"
message
:
@"请确认是否删除"
preferredStyle
:
UIAlertControllerStyleAlert
];
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
...
...
total/GTOApp/Business/NewRequestViewController.m
View file @
69a02421
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
//获取建仓单详情
//获取建仓单详情
if
(
self
.
isSaveDetails
)
{
if
(
self
.
isSaveDetails
)
{
[
self
getOrderDetailsDatas
];
[
self
getOrderDetailsDatas
];
[
self
getOilPriceDatas
];
[
self
getOilPriceDatas
];
}
}
}
}
...
@@ -385,10 +385,11 @@
...
@@ -385,10 +385,11 @@
selectArea
.
title
=
@"选择配送区域"
;
selectArea
.
title
=
@"选择配送区域"
;
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
for
(
NSDictionary
*
dict
in
self
.
distributionArray
)
{
for
(
NSDictionary
*
dict
in
self
.
distributionArray
)
{
[
tempArray
addObject
:
dict
[
@"name"
]];
if
(
!
[
tempArray
containsObject
:
dict
[
@"name"
]])
{
[
tempArray
addObject
:
dict
[
@"name"
]];
}
}
}
selectArea
.
datasArray
=
tempArray
;
selectArea
.
datasArray
=
tempArray
;
//选择配送区后回调
//选择配送区后回调
[
selectArea
setSelectCellTitle
:
^
(
NSString
*
title
,
NSInteger
cellindex
)
{
[
selectArea
setSelectCellTitle
:
^
(
NSString
*
title
,
NSInteger
cellindex
)
{
cell
.
contentLabe
.
text
=
title
?
title
:
@"请选择"
;
cell
.
contentLabe
.
text
=
title
?
title
:
@"请选择"
;
...
@@ -466,8 +467,15 @@
...
@@ -466,8 +467,15 @@
#pragma mark -UITextField监听
#pragma mark -UITextField监听
-
(
void
)
changeTextfieldString
:
(
UITextField
*
)
textField
-
(
void
)
changeTextfieldString
:
(
UITextField
*
)
textField
{
{
if
(
!
self
.
oilPrice
)
{
[
IBTLoadingView
showTextOnly
:
@"油品价格异常"
];
textField
.
text
=
nil
;
return
;
}
if
(
!
[
self
isPureInt
:
textField
.
text
])
{
if
(
!
[
self
isPureInt
:
textField
.
text
])
{
[
IBTLoadingView
showTextOnly
:
@"只支持整数、浮点数"
];
[
IBTLoadingView
showTextOnly
:
@"只支持整数、浮点数"
];
textField
.
text
=
nil
;
return
;
}
}
//申请总额
//申请总额
NumberTableViewCell
*
numberCell
=
[
self
.
createWarehouseTableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
5
inSection
:
0
]];
NumberTableViewCell
*
numberCell
=
[
self
.
createWarehouseTableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
5
inSection
:
0
]];
...
@@ -590,7 +598,6 @@
...
@@ -590,7 +598,6 @@
-
(
void
)
commitOrder
-
(
void
)
commitOrder
{
{
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
[
self
saveOrderBill
:
NO
returnSaveSateBlock
:
^
(
NSDictionary
*
dict
,
DepotRequestBill
*
orderbBill
)
{
[
self
saveOrderBill
:
NO
returnSaveSateBlock
:
^
(
NSDictionary
*
dict
,
DepotRequestBill
*
orderbBill
)
{
[
IBTLoadingView
showProgressLabel
:
@"提交中..."
];
[
IBTLoadingView
showProgressLabel
:
@"提交中..."
];
...
...
total/GTOApp/Business/QueryModel.h
0 → 100644
View file @
69a02421
//
// QueryModel.h
// total
//
// Created by 曹云霄 on 2017/1/9.
// Copyright © 2017年 Delevin. All rights reserved.
//
#import <JSONModel/JSONModel.h>
@class
Orders
,
Condition
;
@
protocol
Orders
@end
@protocol
Condition
@end
@interface
QueryModel
:
JSONModel
@property
(
nonatomic
,
strong
)
NSArray
<
Orders
>
*
orders
;
@property
(
nonatomic
,
assign
)
NSInteger
pageNumber
;
@property
(
nonatomic
,
assign
)
NSInteger
pageSize
;
@property
(
nonatomic
,
strong
)
NSArray
<
Condition
>
*
conditions
;
@end
@interface
Orders
:
JSONModel
@property
(
nonatomic
,
copy
)
NSString
*
field
;
@property
(
nonatomic
,
copy
)
NSString
*
direction
;
@end
@interface
Condition
:
JSONModel
@property
(
nonatomic
,
copy
)
NSString
*
operation
;
@property
(
nonatomic
,
strong
)
NSArray
<
NSString
*>*
parameters
;
@end
total/GTOApp/Business/QueryModel.m
0 → 100644
View file @
69a02421
//
// QueryModel.m
// total
//
// Created by 曹云霄 on 2017/1/9.
// Copyright © 2017年 Delevin. All rights reserved.
//
#import "QueryModel.h"
@implementation
QueryModel
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@implementation
Orders
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@implementation
Condition
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
total/GTOApp/Business/SeePriceViewController.m
View file @
69a02421
This diff is collapsed.
Click to expand it.
total/GTOApp/UserUtil/PromptTableViewController.m
View file @
69a02421
...
@@ -98,6 +98,7 @@
...
@@ -98,6 +98,7 @@
self
.
selectCellTitle
(
self
.
selectTitle
?
self
.
selectTitle
:
self
.
currentTitle
,
self
.
indexpathSelect
.
row
);
self
.
selectCellTitle
(
self
.
selectTitle
?
self
.
selectTitle
:
self
.
currentTitle
,
self
.
indexpathSelect
.
row
);
}
}
}
}
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}
}
...
...
total/Info.plist
View file @
69a02421
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.2.
7
<
/string
>
<
string
>
1.2.
9
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.2.
7
<
/string
>
<
string
>
1.2.
9
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
...
...
total/Macro/GTOAppMacro.h
View file @
69a02421
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
#import "NSData+EncodeAdditions.h"
#import "NSData+EncodeAdditions.h"
#import "UIScrollView+Content.h"
#import "UIScrollView+Content.h"
#import "GTOCommonTools.h"
#import "GTOCommonTools.h"
#import "NSDictionary+Category.h"
...
@@ -78,7 +79,7 @@
...
@@ -78,7 +79,7 @@
//#define HTTP_REST_API_BASE_URL @"http://218.244.151.129:7580/total-server/rest" //
//#define HTTP_REST_API_BASE_URL @"http://218.244.151.129:7580/total-server/rest" //
//#define HTTP_LOCAL_BASE_URL @"http://218.244.151.129:7580"
//#define HTTP_LOCAL_BASE_URL @"http://218.244.151.129:7580"
//
//
正式环境
//正式环境
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:7080/total-server/rest"
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:7080/total-server/rest"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:7080"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:7080"
...
@@ -86,10 +87,6 @@
...
@@ -86,10 +87,6 @@
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8180/total-server/rest"
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8180/total-server/rest"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:8180"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:8180"
//
//测试环境
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8080/total-server/rest"
//开发环境
//开发环境
#define HTTP_LOCAL_BASE_URL @"http://139.196.195.30:8093"
#define HTTP_LOCAL_BASE_URL @"http://139.196.195.30:8093"
#define HTTP_REST_API_BASE_URL @"http://139.196.195.30:8093/total-server/rest"
#define HTTP_REST_API_BASE_URL @"http://139.196.195.30:8093/total-server/rest"
...
...
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