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
3a540349
Commit
3a540349
authored
Dec 22, 2016
by
Sandy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.oschina.net/gomore/total
parents
2274530b
0ce0941c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
386 additions
and
340 deletions
+386
-340
project.pbxproj
total.xcodeproj/project.pbxproj
+2
-2
NewObtainViewController.m
total/GTOApp/Business/NewObtainViewController.m
+3
-0
total_objc_json_client.h
total/GTOApp/UserUtil/total_objc_json_client.h
+280
-242
total_objc_json_client.m
total/GTOApp/UserUtil/total_objc_json_client.m
+99
-85
Info.plist
total/Info.plist
+2
-2
Total-Prefix.pch
total/Total-Prefix.pch
+0
-9
No files found.
total.xcodeproj/project.pbxproj
View file @
3a540349
...
@@ -3146,7 +3146,7 @@
...
@@ -3146,7 +3146,7 @@
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"
;
TARGETED_DEVICE_FAMILY
=
1
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
USER_HEADER_SEARCH_PATHS
=
"$(PODS_ROOT)/**"
;
USER_HEADER_SEARCH_PATHS
=
"$(PODS_ROOT)/**"
;
};
};
name
=
Debug
;
name
=
Debug
;
...
@@ -3178,7 +3178,7 @@
...
@@ -3178,7 +3178,7 @@
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE
=
""
;
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
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
USER_HEADER_SEARCH_PATHS
=
"$(PODS_ROOT)/**"
;
USER_HEADER_SEARCH_PATHS
=
"$(PODS_ROOT)/**"
;
};
};
name
=
Release
;
name
=
Release
;
...
...
total/GTOApp/Business/NewObtainViewController.m
View file @
3a540349
...
@@ -602,6 +602,9 @@
...
@@ -602,6 +602,9 @@
#pragma mark -油站选择
#pragma mark -油站选择
-
(
void
)
selectedGasStation
:
(
UIButton
*
)
btn
-
(
void
)
selectedGasStation
:
(
UIButton
*
)
btn
{
{
if
(
!
self
.
recordSelectOrder
)
{
[
IBTLoadingView
showTextOnly
:
@"请先选择配油单"
];
return
;
}
PromptTableViewController
*
promptVoew
=
[[
PromptTableViewController
alloc
]
init
];
PromptTableViewController
*
promptVoew
=
[[
PromptTableViewController
alloc
]
init
];
promptVoew
.
isBoolValue
=
YES
;
promptVoew
.
isBoolValue
=
YES
;
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
...
...
total/GTOApp/UserUtil/total_objc_json_client.h
View file @
3a540349
This diff is collapsed.
Click to expand it.
total/GTOApp/UserUtil/total_objc_json_client.m
View file @
3a540349
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
#import "total_objc_json_client.h"
#import "total_objc_json_client.h"
@implementation
BeanOperator
@implementation
BeanOperator
@synthesize
operName
;
@synthesize
operId
;
@synthesize
operId
;
@synthesize
operName
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -14,9 +14,9 @@
...
@@ -14,9 +14,9 @@
@end
@end
@implementation
OperateInfo
@implementation
OperateInfo
@synthesize
enterprise
;
@synthesize
time
;
@synthesize
operator
;
@synthesize
operator
;
@synthesize
time
;
@synthesize
enterprise
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -47,9 +47,9 @@
...
@@ -47,9 +47,9 @@
@end
@end
@implementation
UCN
@implementation
UCN
@synthesize
name
;
@synthesize
code
;
@synthesize
code
;
@synthesize
uuid
;
@synthesize
uuid
;
@synthesize
name
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -104,8 +104,8 @@
...
@@ -104,8 +104,8 @@
@end
@end
@implementation
QueryOrder
@implementation
QueryOrder
@synthesize
direction
;
@synthesize
field
;
@synthesize
field
;
@synthesize
direction
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -116,10 +116,10 @@
...
@@ -116,10 +116,10 @@
@end
@end
@implementation
QueryResult
@implementation
QueryResult
@synthesize
paging
;
@synthesize
recordCount
;
@synthesize
page
;
@synthesize
page
;
@synthesize
records
;
@synthesize
records
;
@synthesize
recordCount
;
@synthesize
paging
;
@synthesize
pageSize
;
@synthesize
pageSize
;
@synthesize
pageCount
;
@synthesize
pageCount
;
...
@@ -132,10 +132,10 @@
...
@@ -132,10 +132,10 @@
@end
@end
@implementation
QueryDefinition2
@implementation
QueryDefinition2
@synthesize
orders
;
@synthesize
conditions
;
@synthesize
pageNumber
;
@synthesize
pageNumber
;
@synthesize
pageSize
;
@synthesize
pageSize
;
@synthesize
conditions
;
@synthesize
orders
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -217,10 +217,10 @@ NSString * const DEPOTTYPE_SPECIAL = @"special";
...
@@ -217,10 +217,10 @@ NSString * const DEPOTTYPE_SPECIAL = @"special";
@end
@end
@implementation
QueryResultPaging
@implementation
QueryResultPaging
@synthesize
pageSize
;
@synthesize
pageCount
;
@synthesize
pageCount
;
@synthesize
page
;
@synthesize
page
Size
;
@synthesize
recordCount
;
@synthesize
recordCount
;
@synthesize
page
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -248,10 +248,10 @@ NSString * const STORESTATE_INVALID = @"invalid";
...
@@ -248,10 +248,10 @@ NSString * const STORESTATE_INVALID = @"invalid";
@implementation
QueryDefinition
@implementation
QueryDefinition
@synthesize
conditions
;
@synthesize
limit
;
@synthesize
orders
;
@synthesize
orders
;
@synthesize
conditions
;
@synthesize
offset
;
@synthesize
offset
;
@synthesize
limit
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -309,18 +309,18 @@ NSString * const RECEIVEBILLSTATE_SUBMIT = @"submit";
...
@@ -309,18 +309,18 @@ NSString * const RECEIVEBILLSTATE_SUBMIT = @"submit";
NSString
*
const
RECEIVEBILLSTATE_CANCEL
=
@"cancel"
;
NSString
*
const
RECEIVEBILLSTATE_CANCEL
=
@"cancel"
;
NSString
*
const
REMINDTYPE_CONTRACTNUMBER
=
@"contractNumber"
;
NSString
*
const
PRICECATEGORY_SALEPRICE
=
@"salePrice"
;
NSString
*
const
PRICECATEGORY_SALEPRICE
=
@"salePrice"
;
NSString
*
const
PRICECATEGORY_GENERALTRADEPRICE
=
@"generalTradePrice"
;
NSString
*
const
PRICECATEGORY_GENERALTRADEPRICE
=
@"generalTradePrice"
;
NSString
*
const
PRICECATEGORY_SPECTRADEPRICE
=
@"specTradePrice"
;
NSString
*
const
PRICECATEGORY_SPECTRADEPRICE
=
@"specTradePrice"
;
NSString
*
const
PRICECATEGORY_INTERALSHIPPINGPRICE
=
@"interalShippingPrice"
;
NSString
*
const
PRICECATEGORY_INTERALSHIPPINGPRICE
=
@"interalShippingPrice"
;
NSString
*
const
REMINDTYPE_CONTRACTNUMBER
=
@"contractNumber"
;
@implementation
POperateInfo
@implementation
POperateInfo
@synthesize
operator
;
@synthesize
time
;
@synthesize
time
;
@synthesize
operator
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -330,9 +330,8 @@ NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE = @"interalShippingPrice";
...
@@ -330,9 +330,8 @@ NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE = @"interalShippingPrice";
@end
@end
@implementation
OperateInfo2
@implementation
Entity
@synthesize
time
;
@synthesize
uuid
;
@synthesize
operator
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -356,8 +355,9 @@ NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE = @"interalShippingPrice";
...
@@ -356,8 +355,9 @@ NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE = @"interalShippingPrice";
@end
@end
@implementation
Entity
@implementation
OperateInfo2
@synthesize
uuid
;
@synthesize
time
;
@synthesize
operator
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -378,9 +378,9 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -378,9 +378,9 @@ NSString * const POSITIONTYPE_NONE = @"none";
@implementation
BeanOperateInfo
@implementation
BeanOperateInfo
@synthesize
operator
;
@synthesize
time
;
@synthesize
enterprise
;
@synthesize
enterprise
;
@synthesize
time
;
@synthesize
operator
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -483,10 +483,10 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -483,10 +483,10 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
StandardEntity2
@implementation
ChangePasswordLog
@synthesize
version
;
@synthesize
userUuid
;
@synthesize
createInfo
;
@synthesize
userName
;
@synthesize
lastModifyInfo
;
@synthesize
changeDate
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -496,10 +496,10 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -496,10 +496,10 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
ChangePasswordLog
@implementation
StandardEntity2
@synthesize
userUuid
;
@synthesize
version
;
@synthesize
userName
;
@synthesize
createInfo
;
@synthesize
changeDate
;
@synthesize
lastModifyInfo
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -510,9 +510,9 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -510,9 +510,9 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
PStandardEntity
@implementation
PStandardEntity
@synthesize
version
;
@synthesize
lastModifyInfo
;
@synthesize
lastModifyInfo
;
@synthesize
createInfo
;
@synthesize
createInfo
;
@synthesize
version
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -553,9 +553,9 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -553,9 +553,9 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
StandardEntity
@implementation
StandardEntity
@synthesize
version
;
@synthesize
createInfo
;
@synthesize
lastModifyInfo
;
@synthesize
lastModifyInfo
;
@synthesize
createInfo
;
@synthesize
version
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -648,8 +648,8 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -648,8 +648,8 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
Role
@implementation
EnterpriseEntity2
@synthesize
nam
e
;
@synthesize
enterpris
e
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -659,8 +659,8 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -659,8 +659,8 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
EnterpriseEntity2
@implementation
Role
@synthesize
enterpris
e
;
@synthesize
nam
e
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -690,6 +690,17 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -690,6 +690,17 @@ NSString * const POSITIONTYPE_NONE = @"none";
}
}
@end
@implementation
BasicEnterpriseBill2
@synthesize
billnumber
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@end
@implementation
Store
@implementation
Store
...
@@ -724,8 +735,23 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -724,8 +735,23 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
BasicEnterpriseBill2
@implementation
Organization
@synthesize
billnumber
;
@synthesize
contact
;
@synthesize
isLeaf
;
@synthesize
shortName
;
@synthesize
enabled
;
@synthesize
orgType
;
@synthesize
authentication
;
@synthesize
level
;
@synthesize
upper
;
@synthesize
namePath
;
@synthesize
attachmentId
;
@synthesize
code
;
@synthesize
storeType
;
@synthesize
name
;
@synthesize
address
;
@synthesize
path
;
@synthesize
phone
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -736,46 +762,20 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -736,46 +762,20 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
User
@implementation
User
@synthesize
state
;
@synthesize
businessType
;
@synthesize
businessType
;
@synthesize
belongOrg
;
@synthesize
address
;
@synthesize
mobile
;
@synthesize
remark
;
@synthesize
remark
;
@synthesize
enabled
;
@synthesize
password
;
@synthesize
organizations
;
@synthesize
organizations
;
@synthesize
roles
;
@synthesize
login
;
@synthesize
login
;
@synthesize
name
;
@synthesize
email
;
@synthesize
mobile
;
@synthesize
position
;
@synthesize
position
;
@synthesize
state
;
@synthesize
email
;
@synthesize
belongOrg
;
@synthesize
password
;
@synthesize
address
;
@synthesize
roles
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@implementation
Organization
@synthesize
enabled
;
@synthesize
phone
;
@synthesize
shortName
;
@synthesize
path
;
@synthesize
orgType
;
@synthesize
level
;
@synthesize
attachmentId
;
@synthesize
authentication
;
@synthesize
address
;
@synthesize
name
;
@synthesize
name
;
@synthesize
upper
;
@synthesize
enabled
;
@synthesize
isLeaf
;
@synthesize
namePath
;
@synthesize
contact
;
@synthesize
code
;
@synthesize
storeType
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -855,6 +855,7 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -855,6 +855,7 @@ NSString * const POSITIONTYPE_NONE = @"none";
@synthesize
wasterRate
;
@synthesize
wasterRate
;
@synthesize
carrier
;
@synthesize
carrier
;
@synthesize
price
;
@synthesize
price
;
@synthesize
contractNumber
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -864,11 +865,24 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -864,11 +865,24 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
Remind
@implementation
ReceiveBillContractLog
@synthesize
remindType
;
@synthesize
contractBillNumber
;
@synthesize
receiver
;
@synthesize
sourceBillNumber
;
@synthesize
phoneNumber
;
@synthesize
subTotal
;
@synthesize
email
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@implementation
RemindLog
@synthesize
fueler
;
@synthesize
receiverNumber
;
@synthesize
context
;
@synthesize
result
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
@@ -891,11 +905,11 @@ NSString * const POSITIONTYPE_NONE = @"none";
...
@@ -891,11 +905,11 @@ NSString * const POSITIONTYPE_NONE = @"none";
@end
@end
@implementation
Remind
Log
@implementation
Remind
@synthesize
fueler
;
@synthesize
remindType
;
@synthesize
receiver
Number
;
@synthesize
receiver
;
@synthesize
context
;
@synthesize
phoneNumber
;
@synthesize
result
;
@synthesize
email
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
{
...
...
total/Info.plist
View file @
3a540349
...
@@ -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.
6
<
/string
>
<
string
>
1.2.
7
<
/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.
6
<
/string
>
<
string
>
1.2.
7
<
/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/Total-Prefix.pch
View file @
3a540349
...
@@ -37,15 +37,6 @@
...
@@ -37,15 +37,6 @@
* 友好图片
* 友好图片
*/
*/
#define KNODATAIMAGE TCImage(@"圆角矩形-3-副本")
#define KNODATAIMAGE TCImage(@"圆角矩形-3-副本")
//
//
///**
// * 开发地址
// */
//#define HTTPADDRESS @"http://139.196.195.30:8093/total-server/rest"
//
//
/**
/**
* 0
* 0
...
...
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