Commit 56bcdaae authored by 曹云霄's avatar 曹云霄

修改项说明:修复后台更新解析文件,导致对的崩溃

parent 2c9621f9
...@@ -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;
......
...@@ -430,20 +430,6 @@ extern NSString * const RECEIVEBILLSTATE_CANCEL; ...@@ -430,20 +430,6 @@ extern NSString * const RECEIVEBILLSTATE_CANCEL;
/**
* 提醒类型。
*
* @author Debenson
* @since 0.1
*/
/**
* 合约数量
*/
extern NSString * const REMINDTYPE_CONTRACTNUMBER;
/** /**
* 油价类别。 * 油价类别。
* *
...@@ -470,6 +456,20 @@ extern NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE; ...@@ -470,6 +456,20 @@ extern NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE;
/**
* 提醒类型。
*
* @author Debenson
* @since 0.1
*/
/**
* 合约数量
*/
extern NSString * const REMINDTYPE_CONTRACTNUMBER;
/** /**
* (no documentation provided) * (no documentation provided)
*/ */
...@@ -525,9 +525,9 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -525,9 +525,9 @@ extern NSString * const POSITIONTYPE_NONE;
@class QueryDefinition; @class QueryDefinition;
@class GasMeasureValue; @class GasMeasureValue;
@class POperateInfo; @class POperateInfo;
@class OperateInfo2;
@class RsOperateInfo;
@class Entity; @class Entity;
@class RsOperateInfo;
@class OperateInfo2;
@class BeanOperateInfo; @class BeanOperateInfo;
@class GasDepot; @class GasDepot;
@class GasFueler; @class GasFueler;
...@@ -536,8 +536,8 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -536,8 +536,8 @@ extern NSString * const POSITIONTYPE_NONE;
@class DeliveryArea; @class DeliveryArea;
@class Carrier; @class Carrier;
@class BasicBillDtl; @class BasicBillDtl;
@class StandardEntity2;
@class ChangePasswordLog; @class ChangePasswordLog;
@class StandardEntity2;
@class PStandardEntity; @class PStandardEntity;
@class GasItem; @class GasItem;
@class GasTank; @class GasTank;
...@@ -547,20 +547,21 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -547,20 +547,21 @@ extern NSString * const POSITIONTYPE_NONE;
@class FuelPrice; @class FuelPrice;
@class DepotBillPayDtl; @class DepotBillPayDtl;
@class DepotPickingDtl; @class DepotPickingDtl;
@class Role;
@class EnterpriseEntity2; @class EnterpriseEntity2;
@class Role;
@class PEnterpriseEntity; @class PEnterpriseEntity;
@class EnterpriseEntity; @class EnterpriseEntity;
@class Store;
@class BasicEnterpriseBill2; @class BasicEnterpriseBill2;
@class User; @class Store;
@class Organization; @class Organization;
@class User;
@class PBasicEnterpriseBill; @class PBasicEnterpriseBill;
@class PickingBill; @class PickingBill;
@class ReceiveBill; @class ReceiveBill;
@class Remind; @class ReceiveBillContractLog;
@class TotalOption;
@class RemindLog; @class RemindLog;
@class TotalOption;
@class Remind;
@class POBill; @class POBill;
@class OrderBill; @class OrderBill;
@class CarryInfo; @class CarryInfo;
...@@ -587,9 +588,9 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -587,9 +588,9 @@ extern NSString * const POSITIONTYPE_NONE;
@protocol QueryDefinition @end @protocol QueryDefinition @end
@protocol GasMeasureValue @end @protocol GasMeasureValue @end
@protocol POperateInfo @end @protocol POperateInfo @end
@protocol OperateInfo2 @end
@protocol RsOperateInfo @end
@protocol Entity @end @protocol Entity @end
@protocol RsOperateInfo @end
@protocol OperateInfo2 @end
@protocol BeanOperateInfo @end @protocol BeanOperateInfo @end
@protocol GasDepot @end @protocol GasDepot @end
@protocol GasFueler @end @protocol GasFueler @end
...@@ -598,8 +599,8 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -598,8 +599,8 @@ extern NSString * const POSITIONTYPE_NONE;
@protocol DeliveryArea @end @protocol DeliveryArea @end
@protocol Carrier @end @protocol Carrier @end
@protocol BasicBillDtl @end @protocol BasicBillDtl @end
@protocol StandardEntity2 @end
@protocol ChangePasswordLog @end @protocol ChangePasswordLog @end
@protocol StandardEntity2 @end
@protocol PStandardEntity @end @protocol PStandardEntity @end
@protocol GasItem @end @protocol GasItem @end
@protocol GasTank @end @protocol GasTank @end
...@@ -609,20 +610,21 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -609,20 +610,21 @@ extern NSString * const POSITIONTYPE_NONE;
@protocol FuelPrice @end @protocol FuelPrice @end
@protocol DepotBillPayDtl @end @protocol DepotBillPayDtl @end
@protocol DepotPickingDtl @end @protocol DepotPickingDtl @end
@protocol Role @end
@protocol EnterpriseEntity2 @end @protocol EnterpriseEntity2 @end
@protocol Role @end
@protocol PEnterpriseEntity @end @protocol PEnterpriseEntity @end
@protocol EnterpriseEntity @end @protocol EnterpriseEntity @end
@protocol Store @end
@protocol BasicEnterpriseBill2 @end @protocol BasicEnterpriseBill2 @end
@protocol User @end @protocol Store @end
@protocol Organization @end @protocol Organization @end
@protocol User @end
@protocol PBasicEnterpriseBill @end @protocol PBasicEnterpriseBill @end
@protocol PickingBill @end @protocol PickingBill @end
@protocol ReceiveBill @end @protocol ReceiveBill @end
@protocol Remind @end @protocol ReceiveBillContractLog @end
@protocol TotalOption @end
@protocol RemindLog @end @protocol RemindLog @end
@protocol TotalOption @end
@protocol Remind @end
@protocol POBill @end @protocol POBill @end
@protocol OrderBill @end @protocol OrderBill @end
@protocol CarryInfo @end @protocol CarryInfo @end
...@@ -643,13 +645,13 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -643,13 +645,13 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, copy) NSString *operName; @property (nonatomic, copy) NSString *operId;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *operId; @property (nonatomic, copy) NSString *operName;
@end /* interface BeanOperator */ @end /* interface BeanOperator */
...@@ -663,7 +665,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -663,7 +665,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, copy) NSString *enterprise; @property (nonatomic, strong) Operator *operator;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -675,7 +677,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -675,7 +677,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) Operator *operator; @property (nonatomic, copy) NSString *enterprise;
@end /* interface OperateInfo */ @end /* interface OperateInfo */
...@@ -709,19 +711,19 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -709,19 +711,19 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, copy) NSString *code; @property (nonatomic, copy) NSString *name;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *uuid; @property (nonatomic, copy) NSString *code;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *name; @property (nonatomic, copy) NSString *uuid;
@end /* interface UCN */ @end /* interface UCN */
...@@ -793,15 +795,15 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -793,15 +795,15 @@ extern NSString * const POSITIONTYPE_NONE;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* 取值: QUERYORDERDIRECTION_ASC, QUERYORDERDIRECTION_DESC, *
*/ */
@property (nonatomic, copy) NSString *direction; @property (nonatomic, copy) NSString *field;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* * 取值: QUERYORDERDIRECTION_ASC, QUERYORDERDIRECTION_DESC,
*/ */
@property (nonatomic, copy) NSString *field; @property (nonatomic, copy) NSString *direction;
@end /* interface QueryOrder */ @end /* interface QueryOrder */
...@@ -815,7 +817,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -815,7 +817,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) QueryResultPaging *paging; @property (nonatomic, assign) long long recordCount;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -833,7 +835,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -833,7 +835,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, assign) long long recordCount; @property (nonatomic, strong) QueryResultPaging *paging;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -856,28 +858,28 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -856,28 +858,28 @@ extern NSString * const POSITIONTYPE_NONE;
@interface QueryDefinition2 : JSONModel @interface QueryDefinition2 : JSONModel
/** /**
* (no documentation provided) * (no documentation provided)
* @see QueryOrder *
* *
*/ */
@property (nonatomic, strong) NSArray<QueryOrder> *orders; @property (nonatomic, assign) NSInteger pageNumber;
/** /**
* (no documentation provided) * (no documentation provided)
* @see QueryCondition *
* *
*/ */
@property (nonatomic, strong) NSArray<QueryCondition> *conditions; @property (nonatomic, assign) NSInteger pageSize;
/** /**
* (no documentation provided) * (no documentation provided)
* * @see QueryCondition
* *
*/ */
@property (nonatomic, assign) NSInteger pageNumber; @property (nonatomic, strong) NSArray<QueryCondition> *conditions;
/** /**
* (no documentation provided) * (no documentation provided)
* * @see QueryOrder
* *
*/ */
@property (nonatomic, assign) NSInteger pageSize; @property (nonatomic, strong) NSArray<QueryOrder> *orders;
@end /* interface QueryDefinition2 */ @end /* interface QueryDefinition2 */
...@@ -939,25 +941,25 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -939,25 +941,25 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, assign) NSInteger pageSize; @property (nonatomic, assign) NSInteger pageCount;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) NSInteger pageCount; @property (nonatomic, assign) NSInteger pageSize;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) NSInteger page; @property (nonatomic, assign) long long recordCount;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) long long recordCount; @property (nonatomic, assign) NSInteger page;
@end /* interface QueryResultPaging */ @end /* interface QueryResultPaging */
...@@ -968,10 +970,10 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -968,10 +970,10 @@ extern NSString * const POSITIONTYPE_NONE;
@interface QueryDefinition : JSONModel @interface QueryDefinition : JSONModel
/** /**
* (no documentation provided) * (no documentation provided)
* @see QueryCondition *
* *
*/ */
@property (nonatomic, strong) NSArray<QueryCondition> *conditions; @property (nonatomic, assign) NSInteger limit;
/** /**
* (no documentation provided) * (no documentation provided)
* @see QueryOrder * @see QueryOrder
...@@ -980,16 +982,16 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -980,16 +982,16 @@ extern NSString * const POSITIONTYPE_NONE;
@property (nonatomic, strong) NSArray<QueryOrder> *orders; @property (nonatomic, strong) NSArray<QueryOrder> *orders;
/** /**
* (no documentation provided) * (no documentation provided)
* * @see QueryCondition
* *
*/ */
@property (nonatomic, assign) NSInteger offset; @property (nonatomic, strong) NSArray<QueryCondition> *conditions;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) NSInteger limit; @property (nonatomic, assign) NSInteger offset;
@end /* interface QueryDefinition */ @end /* interface QueryDefinition */
...@@ -1007,25 +1009,25 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1007,25 +1009,25 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *capacity; @property (nonatomic, strong) NSNumber *capacity;
/** /**
* 质量,单位公斤 * 质量,单位公斤
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quality; @property (nonatomic, strong) NSNumber *quality;
/** /**
* 密度 * 密度
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *density; @property (nonatomic, strong) NSNumber *density;
/** /**
* 标准体积 * 标准体积
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *volume; @property (nonatomic, strong) NSNumber *volume;
@end /* interface GasMeasureValue */ @end /* interface GasMeasureValue */
...@@ -1039,38 +1041,28 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1039,38 +1041,28 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) POperator *operator; @property (nonatomic, copy) NSString *time;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *time; @property (nonatomic, strong) POperator *operator;
@end /* interface POperateInfo */ @end /* interface POperateInfo */
/** /**
* 操作上下文。 * (no documentation provided)
@author Debenson
@since 0.1
*/
@interface OperateInfo2 : JSONModel
/**
* 操作时间
*
*
*/ */
@property (nonatomic, copy) NSString *time; @interface Entity : JSONModel
/** /**
* 操作人信息 * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) Operator *operator; @property (nonatomic, copy) NSString *uuid;
@end /* interface OperateInfo2 */ @end /* interface Entity */
...@@ -1115,16 +1107,26 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1115,16 +1107,26 @@ extern NSString * const POSITIONTYPE_NONE;
/** /**
* (no documentation provided) * 操作上下文。
@author Debenson
@since 0.1
*/ */
@interface Entity : JSONModel @interface OperateInfo2 : JSONModel
/** /**
* (no documentation provided) * 操作时间
* *
* *
*/ */
@property (nonatomic, copy) NSString *uuid; @property (nonatomic, copy) NSString *time;
@end /* interface Entity */ /**
* 操作人信息
*
*
*/
@property (nonatomic, strong) Operator *operator;
@end /* interface OperateInfo2 */
...@@ -1137,7 +1139,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1137,7 +1139,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) BeanOperator *operator; @property (nonatomic, copy) NSString *enterprise;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -1149,7 +1151,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1149,7 +1151,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, copy) NSString *enterprise; @property (nonatomic, strong) BeanOperator *operator;
@end /* interface BeanOperateInfo */ @end /* interface BeanOperateInfo */
...@@ -1377,62 +1379,62 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1377,62 +1379,62 @@ extern NSString * const POSITIONTYPE_NONE;
/** /**
* 标准实体。 * 合约日志
@author thor
@author cyy24
@since 0.1
*/ */
@interface StandardEntity2 : Entity @interface ChangePasswordLog : Entity
/** /**
* 版本号 * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) long long version; @property (nonatomic, copy) NSString *userUuid;
/** /**
* 操作人信息 * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) OperateInfo2 *createInfo; @property (nonatomic, copy) NSString *userName;
/** /**
* 最后修改信息 * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) OperateInfo2 *lastModifyInfo; @property (nonatomic, copy) NSString *changeDate;
@end /* interface StandardEntity2 */ @end /* interface ChangePasswordLog */
/** /**
* 合约日志 * 标准实体。
@author thor
@author cyy24
@since 0.1
*/ */
@interface ChangePasswordLog : Entity @interface StandardEntity2 : Entity
/** /**
* (no documentation provided) * 版本号
* *
* *
*/ */
@property (nonatomic, copy) NSString *userUuid; @property (nonatomic, assign) long long version;
/** /**
* (no documentation provided) * 操作人信息
* *
* *
*/ */
@property (nonatomic, copy) NSString *userName; @property (nonatomic, strong) OperateInfo2 *createInfo;
/** /**
* (no documentation provided) * 最后修改信息
* *
* *
*/ */
@property (nonatomic, copy) NSString *changeDate; @property (nonatomic, strong) OperateInfo2 *lastModifyInfo;
@end /* interface ChangePasswordLog */ @end /* interface StandardEntity2 */
...@@ -1445,19 +1447,19 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1445,19 +1447,19 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) POperateInfo *lastModifyInfo; @property (nonatomic, assign) long long version;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) POperateInfo *createInfo; @property (nonatomic, strong) POperateInfo *lastModifyInfo;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) long long version; @property (nonatomic, strong) POperateInfo *createInfo;
@end /* interface PStandardEntity */ @end /* interface PStandardEntity */
...@@ -1555,7 +1557,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1555,7 +1557,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, assign) long long version; @property (nonatomic, strong) OperateInfo *lastModifyInfo;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -1567,7 +1569,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1567,7 +1569,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) OperateInfo *lastModifyInfo; @property (nonatomic, assign) long long version;
@end /* interface StandardEntity */ @end /* interface StandardEntity */
...@@ -1592,7 +1594,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1592,7 +1594,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quantity; @property (nonatomic, strong) NSNumber *quantity;
/** /**
* 明细状态 * 明细状态
* *
...@@ -1709,7 +1711,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1709,7 +1711,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *guidancePrice; @property (nonatomic, strong) NSNumber *guidancePrice;
/** /**
* 售价 * 售价
* <p> * <p>
...@@ -1742,7 +1744,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1742,7 +1744,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *salePrice; @property (nonatomic, strong) NSNumber *salePrice;
/** /**
* 生效时间 * 生效时间
* *
...@@ -1794,7 +1796,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1794,7 +1796,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *total; @property (nonatomic, strong) NSNumber *total;
/** /**
* 付款凭证 * 付款凭证
* *
...@@ -1836,13 +1838,13 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1836,13 +1838,13 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *qty; @property (nonatomic, strong) NSNumber *qty;
/** /**
* 配油金额(元) * 配油金额(元)
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *amount; @property (nonatomic, strong) NSNumber *amount;
/** /**
* 配油单号 * 配油单号
* *
...@@ -1865,20 +1867,6 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1865,20 +1867,6 @@ extern NSString * const POSITIONTYPE_NONE;
/**
* (no documentation provided)
*/
@interface Role : StandardEntity
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *name;
@end /* interface Role */
/** /**
* 带企业字段的entity * 带企业字段的entity
...@@ -1897,6 +1885,20 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1897,6 +1885,20 @@ extern NSString * const POSITIONTYPE_NONE;
/**
* (no documentation provided)
*/
@interface Role : StandardEntity
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *name;
@end /* interface Role */
/** /**
* (no documentation provided) * (no documentation provided)
*/ */
...@@ -1925,6 +1927,24 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -1925,6 +1927,24 @@ extern NSString * const POSITIONTYPE_NONE;
/**
* 基本单据实体。
@author Debenson
@since 0.1
*/
@interface BasicEnterpriseBill2 : EnterpriseEntity2
/**
* 单号
*
*
*/
@property (nonatomic, copy) NSString *billnumber;
@end /* interface BasicEnterpriseBill2 */
/** /**
* @author thor * @author thor
...@@ -2068,39 +2088,27 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2068,39 +2088,27 @@ extern NSString * const POSITIONTYPE_NONE;
/** /**
* 基本单据实体。 * (no documentation provided)
@author Debenson
@since 0.1
*/ */
@interface BasicEnterpriseBill2 : EnterpriseEntity2 @interface Organization : EnterpriseEntity
/** /**
* 单号 * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *billnumber; @property (nonatomic, copy) NSString *contact;
@end /* interface BasicEnterpriseBill2 */
/**
* (no documentation provided)
*/
@interface User : EnterpriseEntity
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *businessType; @property (nonatomic, assign) BOOL isLeaf;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *remark; @property (nonatomic, copy) NSString *shortName;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -2112,172 +2120,166 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2112,172 +2120,166 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, copy) NSString *password; @property (nonatomic, copy) NSString *orgType;
/** /**
* (no documentation provided) * (no documentation provided)
* @see Organization
* *
*/
@property (nonatomic, strong) NSArray<Organization> *organizations;
/**
* (no documentation provided)
* @see Role
* *
*/ */
@property (nonatomic, strong) NSArray<Role> *roles; @property (nonatomic, copy) NSString *authentication;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *login; @property (nonatomic, assign) NSInteger level;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *name; @property (nonatomic, strong) Organization *upper;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *email; @property (nonatomic, copy) NSString *namePath;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *mobile; @property (nonatomic, copy) NSString *attachmentId;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* 取值: POSITIONTYPE_MANAGER, POSITIONTYPE_INSPECTOR, POSITIONTYPE_STORER, POSITIONTYPE_ENGINEER, POSITIONTYPE_PURCHASEMAN, POSITIONTYPE_PURCHASER, POSITIONTYPE_VENDOR, POSITIONTYPE_NONE, *
*/ */
@property (nonatomic, copy) NSString *position; @property (nonatomic, copy) NSString *code;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *state; @property (nonatomic, copy) NSString *storeType;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) Organization *belongOrg; @property (nonatomic, copy) NSString *name;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *address; @property (nonatomic, copy) NSString *address;
@end /* interface User */
/**
* (no documentation provided)
*/
@interface Organization : EnterpriseEntity
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) BOOL enabled; @property (nonatomic, copy) NSString *path;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *phone; @property (nonatomic, copy) NSString *phone;
@end /* interface Organization */
/**
* (no documentation provided)
*/
@interface User : EnterpriseEntity
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *shortName; @property (nonatomic, copy) NSString *state;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *path; @property (nonatomic, copy) NSString *businessType;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *orgType; @property (nonatomic, strong) Organization *belongOrg;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) NSInteger level; @property (nonatomic, copy) NSString *address;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *attachmentId; @property (nonatomic, copy) NSString *mobile;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *authentication; @property (nonatomic, copy) NSString *remark;
/** /**
* (no documentation provided) * (no documentation provided)
* * @see Organization
* *
*/ */
@property (nonatomic, copy) NSString *address; @property (nonatomic, strong) NSArray<Organization> *organizations;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *name; @property (nonatomic, copy) NSString *login;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* * 取值: POSITIONTYPE_MANAGER, POSITIONTYPE_INSPECTOR, POSITIONTYPE_STORER, POSITIONTYPE_ENGINEER, POSITIONTYPE_PURCHASEMAN, POSITIONTYPE_PURCHASER, POSITIONTYPE_VENDOR, POSITIONTYPE_NONE,
*/ */
@property (nonatomic, strong) Organization *upper; @property (nonatomic, copy) NSString *position;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) BOOL isLeaf; @property (nonatomic, copy) NSString *email;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *namePath; @property (nonatomic, copy) NSString *password;
/** /**
* (no documentation provided) * (no documentation provided)
* * @see Role
* *
*/ */
@property (nonatomic, copy) NSString *contact; @property (nonatomic, strong) NSArray<Role> *roles;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *code; @property (nonatomic, copy) NSString *name;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *storeType; @property (nonatomic, assign) BOOL enabled;
@end /* interface Organization */ @end /* interface User */
...@@ -2350,7 +2352,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2350,7 +2352,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quantity; @property (nonatomic, strong) NSNumber *quantity;
/** /**
* 油库 * 油库
* *
...@@ -2398,13 +2400,13 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2398,13 +2400,13 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *price; @property (nonatomic, strong) NSNumber *price;
/** /**
* 金额 * 金额
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *total; @property (nonatomic, strong) NSNumber *total;
/** /**
* SO单是否已导出 * SO单是否已导出
* *
...@@ -2524,13 +2526,13 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2524,13 +2526,13 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *billMeasure; @property (nonatomic, strong) NSNumber *billMeasure;
/** /**
* 发油公斤数 * 发油公斤数
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *realMeasure; @property (nonatomic, strong) NSNumber *realMeasure;
/** /**
* 备注 * 备注
* *
...@@ -2566,19 +2568,19 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2566,19 +2568,19 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *pickFuelDensity; @property (nonatomic, strong) NSNumber *pickFuelDensity;
/** /**
* 发油升数 * 发油升数
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *pickFuelDensityCapacity; @property (nonatomic, strong) NSNumber *pickFuelDensityCapacity;
/** /**
* 损耗升数 * 损耗升数
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *wasterCapacity; @property (nonatomic, strong) NSNumber *wasterCapacity;
/** /**
* 收油营业日期 * 收油营业日期
* *
...@@ -2590,7 +2592,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2590,7 +2592,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *wasterRate; @property (nonatomic, strong) NSNumber *wasterRate;
/** /**
* 承运商 * 承运商
* *
...@@ -2602,44 +2604,80 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2602,44 +2604,80 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *price; @property (nonatomic, strong) NSNumber *price;
/**
* 合约号
*
*
*/
@property (nonatomic, copy) NSString *contractNumber;
@end /* interface ReceiveBill */ @end /* interface ReceiveBill */
/** /**
* 提醒对象 * 合约日志
@author cyy24 @author cyy24
@since 0.1 @since 0.1
*/ */
@interface Remind : BasicEnterpriseBill2 @interface ReceiveBillContractLog : BasicEnterpriseBill2
/** /**
* (no documentation provided) * (no documentation provided)
* *
* 取值: REMINDTYPE_CONTRACTNUMBER, *
*/ */
@property (nonatomic, copy) NSString *remindType; @property (nonatomic, copy) NSString *contractBillNumber;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *receiver; @property (nonatomic, copy) NSString *sourceBillNumber;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *phoneNumber; @property (nonatomic, strong) NSNumber *subTotal;
@end /* interface ReceiveBillContractLog */
/**
* 提醒日志
@author cyy24
@since 0.1
*/
@interface RemindLog : BasicEnterpriseBill2
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *email; @property (nonatomic, strong) UCN *fueler;
@end /* interface Remind */ /**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *receiverNumber;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *context;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, assign) BOOL result;
@end /* interface RemindLog */
...@@ -2674,38 +2712,38 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2674,38 +2712,38 @@ extern NSString * const POSITIONTYPE_NONE;
/** /**
* 提醒日志 * 提醒对象
@author cyy24 @author cyy24
@since 0.1 @since 0.1
*/ */
@interface RemindLog : BasicEnterpriseBill2 @interface Remind : BasicEnterpriseBill2
/** /**
* (no documentation provided) * (no documentation provided)
* *
* * 取值: REMINDTYPE_CONTRACTNUMBER,
*/ */
@property (nonatomic, strong) UCN *fueler; @property (nonatomic, copy) NSString *remindType;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *receiverNumber; @property (nonatomic, copy) NSString *receiver;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, copy) NSString *context; @property (nonatomic, copy) NSString *phoneNumber;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, assign) BOOL result; @property (nonatomic, copy) NSString *email;
@end /* interface RemindLog */ @end /* interface Remind */
...@@ -2956,7 +2994,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2956,7 +2994,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quantity; @property (nonatomic, strong) NSNumber *quantity;
/** /**
* 备注 * 备注
* *
...@@ -2980,7 +3018,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -2980,7 +3018,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *price; @property (nonatomic, strong) NSNumber *price;
/** /**
* 配送区域 * 配送区域
* *
...@@ -3034,7 +3072,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3034,7 +3072,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *price; @property (nonatomic, strong) NSNumber *price;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -3094,13 +3132,13 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3094,13 +3132,13 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *reqPrice; @property (nonatomic, strong) NSNumber *reqPrice;
/** /**
* 申请数量 * 申请数量
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quantity; @property (nonatomic, strong) NSNumber *quantity;
/** /**
* 备注 * 备注
* *
...@@ -3136,7 +3174,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3136,7 +3174,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *minQuantity; @property (nonatomic, strong) NSNumber *minQuantity;
@end /* interface ContractNumber */ @end /* interface ContractNumber */
...@@ -3193,7 +3231,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3193,7 +3231,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *total; @property (nonatomic, strong) NSNumber *total;
@end /* interface DepotInv */ @end /* interface DepotInv */
...@@ -3256,19 +3294,19 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3256,19 +3294,19 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *price; @property (nonatomic, strong) NSNumber *price;
/** /**
* 建仓数量(吨) * 建仓数量(吨)
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quantity; @property (nonatomic, strong) NSNumber *quantity;
/** /**
* 建仓金额 * 建仓金额
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *amount; @property (nonatomic, strong) NSNumber *amount;
/** /**
* 付款时间范围 * 付款时间范围
* *
...@@ -3298,25 +3336,25 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3298,25 +3336,25 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *unpayAmount; @property (nonatomic, strong) NSNumber *unpayAmount;
/** /**
* 未增加库存数 * 未增加库存数
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *undepotInv; @property (nonatomic, strong) NSNumber *undepotInv;
/** /**
* 已缴纳保证金额 * 已缴纳保证金额
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *payMarginAmount; @property (nonatomic, strong) NSNumber *payMarginAmount;
/** /**
* 剩余库存 * 剩余库存
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *total; @property (nonatomic, strong) NSNumber *total;
@end /* interface DepotBill */ @end /* interface DepotBill */
...@@ -3364,19 +3402,19 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3364,19 +3402,19 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *beforeTotal; @property (nonatomic, strong) NSNumber *beforeTotal;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *subTotal; @property (nonatomic, strong) NSNumber *subTotal;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *nowTotal; @property (nonatomic, strong) NSNumber *nowTotal;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -3466,13 +3504,13 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3466,13 +3504,13 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *quantity; @property (nonatomic, strong) NSNumber *quantity;
/** /**
* (no documentation provided) * (no documentation provided)
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *realQuantity; @property (nonatomic, strong) NSNumber *realQuantity;
/** /**
* (no documentation provided) * (no documentation provided)
* *
...@@ -3484,7 +3522,7 @@ extern NSString * const POSITIONTYPE_NONE; ...@@ -3484,7 +3522,7 @@ extern NSString * const POSITIONTYPE_NONE;
* *
* *
*/ */
@property (nonatomic, strong) NSDecimalNumber *price; @property (nonatomic, strong) NSNumber *price;
@end /* interface Contract */ @end /* interface Contract */
...@@ -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