Commit 3a540349 authored by Sandy's avatar Sandy

Merge branch 'master' of https://git.oschina.net/gomore/total

parents 2274530b 0ce0941c
...@@ -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;
......
...@@ -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;
......
...@@ -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 pageSize;
@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 name; @synthesize enterprise;
+(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 enterprise; @synthesize name;
+(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 RemindLog @implementation Remind
@synthesize fueler; @synthesize remindType;
@synthesize receiverNumber; @synthesize receiver;
@synthesize context; @synthesize phoneNumber;
@synthesize result; @synthesize email;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
......
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.2.6</string> <string>1.2.7</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.2.6</string> <string>1.2.7</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment