Commit 0c2ea9df authored by 曹云霄's avatar 曹云霄

优化促销金额为浮点数

parent 1b9b7f5d
...@@ -395,7 +395,7 @@ ...@@ -395,7 +395,7 @@
PromotionalReadPacketModel *model = (PromotionalReadPacketModel *)object; PromotionalReadPacketModel *model = (PromotionalReadPacketModel *)object;
if ([model.body isEqualToString:GUIDE]) { if ([model.body isEqualToString:GUIDE]) {
RedPackageDetail *entity = [[RedPackageDetail alloc] init]; RedPackageDetail *entity = [[RedPackageDetail alloc] init];
entity.money = [NSNumber numberWithInteger:model.total]; entity.money = [NSNumber numberWithFloat:model.total];
entity.promotionBillNumber = model.promotionBillNumber; entity.promotionBillNumber = model.promotionBillNumber;
entity.redPrority = [NSString stringWithFormat:@"%ld",model.priority]; entity.redPrority = [NSString stringWithFormat:@"%ld",model.priority];
[readPacketArray addObject:entity]; [readPacketArray addObject:entity];
...@@ -422,7 +422,7 @@ ...@@ -422,7 +422,7 @@
if ([model.body isEqualToString:CONSUMER]) { if ([model.body isEqualToString:CONSUMER]) {
if (![[self class] isBlankString:self.weChatModel.wxcardNumber]) { if (![[self class] isBlankString:self.weChatModel.wxcardNumber]) {
order.wxcardNumber = self.weChatModel.wxcardNumber; order.wxcardNumber = self.weChatModel.wxcardNumber;
order.wxcardDenomation = [NSNumber numberWithInteger:self.weChatModel.wxcardDenomation]; order.wxcardDenomation = [NSNumber numberWithFloat:self.weChatModel.wxcardDenomation];
order.wxCardPrority = model.priority; order.wxCardPrority = model.priority;
} }
} }
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
/** /**
微信卡劵面额 微信卡劵面额
*/ */
@property (nonatomic,assign) NSInteger wxcardDenomation; @property (nonatomic,assign) CGFloat wxcardDenomation;
/** /**
微信卡劵卡号 微信卡劵卡号
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundleName</key> <key>CFBundleName</key>
<string>欧立方</string> <string>欧立方</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>2.1.2</string> <string>2.1.3</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.1.2</string> <string>2.1.3</string>
<key>LSApplicationQueriesSchemes</key> <key>LSApplicationQueriesSchemes</key>
<array> <array>
<string>wechat</string> <string>wechat</string>
......
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