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

优化促销金额为浮点数

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