From d3ef38ee756fa1dfbb24d5403a587f07d828a364 Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Thu, 14 Dec 2023 12:08:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E6=89=A3=E6=AC=BE=E6=8C=89=E9=92=AE=E5=BC=B9=E7=AA=97=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/image/2x/bus_give_yue.webp | Bin 0 -> 1572 bytes assets/image/2x/bus_real_recharge.webp | Bin 0 -> 1972 bytes assets/image/2x/bus_yue.webp | Bin 0 -> 1654 bytes assets/image/3x/bus_give_yue.webp | Bin 0 -> 2474 bytes assets/image/3x/bus_real_recharge.webp | Bin 0 -> 5454 bytes assets/image/3x/bus_yue.webp | Bin 0 -> 5530 bytes assets/image/bus_give_yue.webp | Bin 0 -> 888 bytes assets/image/bus_real_recharge.webp | Bin 0 -> 1016 bytes assets/image/bus_yue.webp | Bin 0 -> 936 bytes lib/business_system/order/order_list.dart | 219 ++++++++++++---- lib/retrofit/business_api.dart | 5 + lib/retrofit/business_api.g.dart | 22 ++ lib/retrofit/data/order_user_detail.dart | 303 ++++++++++++++++++++++ 13 files changed, 500 insertions(+), 49 deletions(-) create mode 100644 assets/image/2x/bus_give_yue.webp create mode 100644 assets/image/2x/bus_real_recharge.webp create mode 100644 assets/image/2x/bus_yue.webp create mode 100644 assets/image/3x/bus_give_yue.webp create mode 100644 assets/image/3x/bus_real_recharge.webp create mode 100644 assets/image/3x/bus_yue.webp create mode 100644 assets/image/bus_give_yue.webp create mode 100644 assets/image/bus_real_recharge.webp create mode 100644 assets/image/bus_yue.webp create mode 100644 lib/retrofit/data/order_user_detail.dart diff --git a/assets/image/2x/bus_give_yue.webp b/assets/image/2x/bus_give_yue.webp new file mode 100644 index 0000000000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HX}>7d`T-dOwF*H+mU4cabcP zrfN*gXHTMS(r0u%UW{T_Zm?}&bHgJ#whMAt-$FlGcL%~CRoXT7P< zdpby_&aAX zB4UfOb58nt(~gn{p3&&n6)`!P>Zbe4S}NTx4-YVMa#i&^g5Sz)M~hAz&P!9)p`3nm zKvS7tI2?W4=Dv96`DBKznUYgS`mX8|QHt7a>D}T_#S_DE*mIOJLeIN-d(x9B+Lew@ zN9~cGluhWwb;Q++5E;-J7+-sPUCBvozaLjUzB#27qwXruzoF=QG`FJ4iV+sxH$2)< W)LY_MT6ob#u)vv5#=qyNfPVlZ)mn=H literal 0 HcmV?d00001 diff --git a/assets/image/2x/bus_real_recharge.webp b/assets/image/2x/bus_real_recharge.webp new file mode 100644 index 0000000000000000000000000000000000000000..4b5f3b9ed44fee3da7586ca24dc96fe52e15a5ec GIT binary patch literal 1972 zcmaJ=c|4oh8b0<=J444BiZW6Ztu57=h`5SK?MoNLR<$*us+NfobP?U=e+Op`_6mL`F$SF7z{-M0AEKG z&If1hCj|g7gTnpOQdq-1Cq5f51wq0l2hi$gsrLs~iFvo;jykk1+^&`AmL36KXT&;&0J z2S|rP+A!iTI^-`JA5ReY^C1s1COT2DmH>j?Nr%OHdqQs*6dHgCJb)8G3HA@oA;eVz zV9fzQr07d7_&^McE%?{m9Lc1hj{1t3a+e#t)IG_o?{eU>8vX4S78*{dkEMU) zGiAM9;`j!Po}?Y>t9-6^9|QN)tIs`97qPVuK^w)1BbtI6pY!fV9dh8MS5YkYm8doT zF{QK}IZ+m%72*W0Y;-?7YbQT*A+ zn7m%^YiKU1??-TSy-LR|7sKOg@#|{j-zti)s0zzV7aVs*^A2aB-{j94<%*$&JZ6Nl ze$qLI*Mq^2qboor>Q4MJH(#GnpYWsKqxqWcF@a8) zyjLmAseWwZLAdVUP${c)tc->u$fs!Ia6tWCqMCF+{g)e;5&83}p&aJFP}-})`A?m=^l|Hevvx?j7N zg51(-NeB~%EVa_;zGQVIMOo>lQJPz-b+QwxiH&`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(}(``91lR&s;h&OS~* zAyb)@ig?bpF8@zyDU6NzI|Gjt@7BpAZ=C$Q#`qFtzL6}}Z(379XGKL;*0O5M{5boL z61qCg&Q6c!kvhzId89p_wu$08oH8;mS%R0>mA_q*e5csm&#G#I(HGxZh)505dEUQ# zn>%?k)nv2seUn0^FW8`gxjKGZv45Me!Md*4}MUr-0p0k@uD)! zCr7#ixmVj7DI%Eq0ll2;?(G?e@Z9;{h;v5__xawPA2$*5IX5fD`53r~R#?|8yTf$r z&xDSWZpLiiFW$P?fPtwpg`&K;{e<2mqknEXWKrlb;q2fY<0YyaG*bJn)<{*@^?159 zy*@RWXCF0}Zb;oVBi9z;c}u*ez*zLn`@bKbOYPIi3u{Nwc9E-~Ye9;)iS z6o71y-}G!jtJn!&?@PRUX&N`1D;j$FX+kXfs@Ae$ecMhQh;R%#G&Ca?Derhx>Hy%0 z+#up=1_`#JMGi`;;IGO6HVhnd8{2ZUM40wcVXdQLgG|hhkc?WjJ+| z7>O67hpFbcv7p$K5R(0I@enRy8>g+^sZQ^$lY1JT1SbA@Igm(7{hAN#`s)L*@cpfxL~%mZ|5o<~|Kaz3cRe(NWWo zq+t~13@N9-J;UFWmpqKpJws}!ZZ`-p4M`nFnc+$N>h{i26W;RqC34d6GDi4cc{_zG literal 0 HcmV?d00001 diff --git a/assets/image/3x/bus_give_yue.webp b/assets/image/3x/bus_give_yue.webp new file mode 100644 index 0000000000000000000000000000000000000000..6b24792316af7a65f6197839782b1c7d0df6b53d GIT binary patch literal 2474 zcmaJ=2UJtp7JVqvq=lkL86be*&;*7O6oH69Y=jty6h9IOHG~X=PC%Lz`808qqJe-k zX;K9o%ZyS*K$;;KK#&&ch7p7?4_&i#T>gLVz5DEY&R*}Hd(V0(gtKQ!tj z$X!9M;{FZCe#2dee!Kc)P;=Y|AFzAYuI=8AA4jmc0D2y9Ndx`>3a|j+yY~n8p!re( zz<>n+d(*zguvq}m7zY3nBVS{Rc>o|33jhs0Ut?e2gy`(&{P}a7AntK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$(bU=hK^z`$St#Oh$=>FgYEf)U7NU_1dLS%6Zxc_l?b?oJ93 zkx>fl4;UDM5DXHNiwhtutRzs?w`&l!mvynKz%R&|l3JV$RPq6cRf>R?1KlJ7WQ(Lj z*cu>q5`=97VwaZ`lmOKPfY?PLLC!#S3XrXlj>JwvVkZ|AfzZ zZ((5Ab{-*y2$O=uqC~K9EI^VeEscTU({cs|-be-p;R_55T+v`TAc4be3P33tpu6&c zFr6WXA(cUa!IL46A(=rB$T9*(sv(0JFot~?nHU)K)emqAxIbDpQN^?CmF4#{kNF>H zd~-hRc-v#rlXt3{{s`_XPn7c9H1*!%t{oh`DjzFMUTx>O?G`j=_L)nz&JO9{?;kwR zI(trf-TbSycP;@SWm3H);ll9uh_N-pT&hO<0J{adJx3-e(Jn@2}gO%(s-KpqfYh z?*4@z7wv7~y^xq>&paz?&x@wA-kQT!8+ewOwd~gXx##+-t65v4)`qPvKf^TBSd7c+ z*z)IT>0h}YBp-YGN@dzXsr;}XOzWa^OdA$`ySHYwMMJ5=luuo}KMyGC*)dC=%KMqh z@!*yJN&S1Drf&c9TzS6MX1h) A(*OVf literal 0 HcmV?d00001 diff --git a/assets/image/bus_yue.webp b/assets/image/bus_yue.webp new file mode 100644 index 0000000000000000000000000000000000000000..e39126e65c11986d9bbbc32ae95e5519c5f86b82 GIT binary patch literal 936 zcmWIYbaPw4%)k)t>J$(bU=hK^z`$St#Oh$=>FgYEf)U7NU_1dLS%6Zxc_l?b?oJ93 zkx>fl4;UDM5DXHNiwhtutRzs?w`&l!mvynKz%R&|l3JV$RPq6cRf>R?1KlJ7WQ(Lj z*cu>q5`=97VwaZ`lmOKPfY?PLLC!#S3XrXlj>JwvVkZ|AfzZ zZ((5Ab{-*y2$O=uqC~K9EI^VeEscTU({cs|-be-p;R_55T+v`TAc4be3P33tpu6&c zFr6WXA(cUa!IL46A(=rB$T9*(sv(0JFou0LF)}dds~_ML*neRsrz@b+W!`>Bfaw%vKlln zHuQ2zb2Dg%GA8KkKe60PP-`u>G=qfj!XQPt;r$Pb1k??%BMPzG(G&to52S z(d%ljn&j7I!nsE8a`nA-+D9cBY`J|kAvJCF!PE?6-lwO}oH^s>XZj^>wF=+D@5T8G zZ@(?u{ZGbKsJ_!%cK;sh(&cBlx391;Se6#H;){&K)LCvD&4TT&cKF#$S5Qm4wO>_5 z_B-dQ&zDSvIp)4dUG`#ojQo$u4mVa_NPTFme$q0vEA^wDoz?EUc8(YHFP8<#B&)sK z{#!xeMC-b<#~*Kh{rx+CqHArz+iyPqrcb}VW#PT;i)P4V@`%PSSfMWQHNs_q$BLhO zOh0oN2TywP8Q4x1Gz4SKQdumzz U%`Yai?Vexy{r^XO%5Ql_0OG$HP5=M^ literal 0 HcmV?d00001 diff --git a/lib/business_system/order/order_list.dart b/lib/business_system/order/order_list.dart index f8c4543a..3c47d1f1 100644 --- a/lib/business_system/order/order_list.dart +++ b/lib/business_system/order/order_list.dart @@ -14,6 +14,7 @@ import '../../generated/l10n.dart'; import '../../retrofit/business_api.dart'; import '../../retrofit/data/base_data.dart'; import '../../retrofit/data/business_order_list.dart'; +import '../../retrofit/data/order_user_detail.dart'; import '../../utils/business_instance.dart'; import '../../utils/flutter_utils.dart'; import '../../view_widget/border_text.dart'; @@ -47,6 +48,7 @@ class _OrderList extends State { int _pageIndex = 1; String networkError = ""; int networkStatus = 0; + OrderUserDetail orderUserDetail; @override void dispose() { @@ -153,7 +155,8 @@ class _OrderList extends State { BaseData baseData = await businessService.balancePay({ "orderId": orderId, "payMoney": payMoney, - "payChannel": 1 + "payChannel": 1, + "sid":orderUserDetail?.id ?? "", }).catchError((error) {}); if (baseData != null && baseData.isSuccess) { await queryOrderList(queryId: orderCode); @@ -173,6 +176,28 @@ class _OrderList extends State { } } + ///查询订单列表用户金额详情 + queryOrderUserDetail(String orderId) async { + try { + EasyLoading.show( + status: S.current.zhengzaijiazai, + maskType: EasyLoadingMaskType.black); + if (businessService == null) { + businessService = BusinessApiService(Dio(), + context: context, + token: BusinessInstance.instance.businessToken, + tenant: BusinessInstance.instance.businessTenant, + storeId: widget.storeId); + } + BaseData baseData = await businessService.getOrderUserDetail(orderId).catchError((error) {}); + if (baseData != null && baseData.isSuccess) { + orderUserDetail = baseData.data; + } + } finally { + EasyLoading.dismiss(); + } + } + @override Widget build(BuildContext context) { return SmartRefresher( @@ -422,7 +447,8 @@ class _OrderList extends State { adminOrderDtoList.refundStatus == 0 && adminOrderDtoList.orderType == 6) GestureDetector( behavior: HitTestBehavior.opaque, - onTap: () { + onTap: () async{ + await queryOrderUserDetail(adminOrderDtoList.id); showPayDialog(adminOrderDtoList.orderCode,adminOrderDtoList.id,adminOrderDtoList.orderSum); }, child: Container( @@ -515,66 +541,161 @@ class _OrderList extends State { context: context, builder: (context) { return AlertDialog( + contentPadding:EdgeInsets.all(0), content: Container( width: MediaQuery.of(context).size.width - 84, - height: 120.h, + padding: EdgeInsets.only(top: 24.h), child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, + mainAxisSize: MainAxisSize.min, children: [ - Text( - " 确定对该订单进行扣款吗?", + Padding(padding: EdgeInsets.only(bottom: 31.h),child:Text( + "确定对该订单进行扣款吗?", style: TextStyle( - color: Color(0xFFF4524D), - fontSize: 16.sp, - fontWeight: MyFontWeight.regular, + color: Color(0xFF0D0D0D), + fontSize: 18.sp, + fontWeight: MyFontWeight.bold, ), - ), - SizedBox( - height: 35.h, - ), - Row( + )), + Padding(padding:EdgeInsets.only(bottom: 18.h), + child: Row( children: [ - Expanded( - child: InkWell( - child: BorderText( - text: S.of(context).quxiao, - textColor: Color(0xFF30415B), - fontSize: 16.sp, - fontWeight: FontWeight.bold, - borderColor: Color(0xFF30415B), - radius: 4, - padding: EdgeInsets.all(12), - borderWidth: 1, + Expanded(child:Column( + children: [ + Image.asset( + "assets/image/bus_yue.webp", + width: 40.h, + height: 40.h, ), - onTap: () { - Navigator.of(context).pop(); - }, + Padding(padding:EdgeInsets.symmetric(vertical:8.h), + child: Text( + "余额", + style: TextStyle( + color: Color(0xFF252626), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + )), + Text( + orderUserDetail?.balance ?? "", + style: TextStyle( + color: Color(0xFF252626), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + ) + ], + )), + Container( + height:46.h, + width: 1.w, + color: Color(0xFFD8D8D8), + ),Expanded(child:Column( + children: [ + Image.asset( + "assets/image/bus_real_recharge.webp", + width: 40.h, + height: 40.h, + ), + Padding(padding:EdgeInsets.symmetric(vertical:8.h), + child: Text( + "实储余额", + style: TextStyle( + color: Color(0xFF252626), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + )), + Text( + orderUserDetail?.realRecharge ?? "", + style: TextStyle( + color: Color(0xFF252626), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + ) + ], + )), + Container( + height:46.h, + width: 1.w, + color: Color(0xFFD8D8D8), + ),Expanded(child:Column( + children: [ + Image.asset( + "assets/image/bus_give_yue.webp", + width: 40.h, + height: 40.h, + ), + Padding(padding:EdgeInsets.symmetric(vertical:8.h), + child: Text( + "赠送余额", + style: TextStyle( + color: Color(0xFF252626), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + )), + Text( + "${AppUtils.calculateDouble(double.tryParse(orderUserDetail?.balance ?? "0") - double.tryParse(orderUserDetail?.realRecharge ?? "0"))}", + style: TextStyle( + color: Color(0xFF252626), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + ) + ], + )), + ], + ),), + Container( + width:double.infinity, + height: 1.h, + color: Color(0xFFD8D8D8),), + Container( + height: 55.h, + child: Row( + children: [ + Expanded( + child: InkWell( + child: BorderText( + text: S.of(context).quxiao, + textColor: Colors.black, + fontSize: 16.sp, + fontWeight: FontWeight.bold, + padding: EdgeInsets.all(14), + ), + onTap: () { + Navigator.of(context).pop(); + }, + ), + flex: 1, ), - flex: 1, - ), - SizedBox( - width: 16.w, - ), - Expanded( - child: InkWell( - child: RoundButton( - text: S.of(context).queren, - textColor: Colors.white, - radius: 4, - padding: EdgeInsets.all(12), - backgroup: Color(0xFF30415B), - fontSize: 16.sp, - fontWeight: FontWeight.bold, + Container( + width: 1.w, + height:double.infinity, + color: Color(0xFFD8D8D8), + ), + Expanded( + child: InkWell( + child: RoundButton( + text: S.of(context).queren, + textColor: Color(0xFF30415B), + radius: 4, + padding: EdgeInsets.all(14), + fontSize: 16.sp, + fontWeight: FontWeight.bold, + ), + onTap: () { + Navigator.of(context).pop(); + orderBalancePay(orderCode,orderId,payMoney); + }, ), - onTap: () { - Navigator.of(context).pop(); - orderBalancePay(orderCode,orderId,payMoney); - }, + flex: 1, ), - flex: 1, - ), - ], + ], + ), ) ], ), diff --git a/lib/retrofit/business_api.dart b/lib/retrofit/business_api.dart index 5d7a6743..0a9142b2 100644 --- a/lib/retrofit/business_api.dart +++ b/lib/retrofit/business_api.dart @@ -21,6 +21,7 @@ import 'data/business_store_list.dart'; import 'data/business_vip_list.dart'; import 'data/day_flow_list.dart'; import 'data/goods_type_sales_list.dart'; +import 'data/order_user_detail.dart'; import 'data/popular_sales_list.dart'; import 'data/product_group_list.dart'; import 'data/recharge_flow_list.dart'; @@ -301,4 +302,8 @@ abstract class BusinessApiService { ///确认扣款 @POST("order/balancePay") Future balancePay(@Body() Map param); + + ///订单列表获取用户金额详情 + @GET("order/getOrderUserDetail?orderId={orderId}") + Future> getOrderUserDetail(@Path("orderId") String storeId); } diff --git a/lib/retrofit/business_api.g.dart b/lib/retrofit/business_api.g.dart index 2cfd16fe..c4f22f15 100644 --- a/lib/retrofit/business_api.g.dart +++ b/lib/retrofit/business_api.g.dart @@ -829,4 +829,26 @@ class _BusinessApiService implements BusinessApiService { return value; } + @override + Future> getOrderUserDetail(orderId) async { + ArgumentError.checkNotNull(orderId, 'orderId'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + 'order/getOrderUserDetail?orderId=$orderId', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => OrderUserDetail.fromJson(json), + ); + return value; + } + } diff --git a/lib/retrofit/data/order_user_detail.dart b/lib/retrofit/data/order_user_detail.dart new file mode 100644 index 00000000..5b9008c4 --- /dev/null +++ b/lib/retrofit/data/order_user_detail.dart @@ -0,0 +1,303 @@ +/// id : "1732280985187254272" +/// createTime : "2023-12-06 14:09:06" +/// createUser : "0" +/// updateTime : "2023-12-06 14:09:06" +/// updateUser : "0" +/// mid : "1331427732277428224" +/// masterId : "0" +/// openid : "" +/// aliOpenid : null +/// douyinOpenid : null +/// nickname : "" +/// headimg : "" +/// rankId : "0" +/// rankExpireTime : null +/// balance : "0.00" +/// realRecharge : "0.00" +/// sex : "0" +/// status : true +/// onCredit : false +/// loginTime : "2023-12-12 10:20:11" +/// loginNum : 13 +/// tenantCode : "1196" +/// source : 1 +/// expendAmount : "45.00" +/// buyTimes : 1 +/// lastBuyTime : "2023-12-06 18:07:40" +/// vip_no : null +/// expireTime : "2033-12-12 10:20:11" +/// integral : 0 +/// level : 1 +/// vipRegStore : null +/// certification : false + +class OrderUserDetail { + OrderUserDetail({ + String id, + String createTime, + String createUser, + String updateTime, + String updateUser, + String mid, + String masterId, + String openid, + dynamic aliOpenid, + dynamic douyinOpenid, + String nickname, + String headimg, + String rankId, + dynamic rankExpireTime, + String balance, + String realRecharge, + String sex, + bool status, + bool onCredit, + String loginTime, + num loginNum, + String tenantCode, + num source, + String expendAmount, + num buyTimes, + String lastBuyTime, + dynamic vipNo, + String expireTime, + num integral, + num level, + dynamic vipRegStore, + bool certification,}){ + _id = id; + _createTime = createTime; + _createUser = createUser; + _updateTime = updateTime; + _updateUser = updateUser; + _mid = mid; + _masterId = masterId; + _openid = openid; + _aliOpenid = aliOpenid; + _douyinOpenid = douyinOpenid; + _nickname = nickname; + _headimg = headimg; + _rankId = rankId; + _rankExpireTime = rankExpireTime; + _balance = balance; + _realRecharge = realRecharge; + _sex = sex; + _status = status; + _onCredit = onCredit; + _loginTime = loginTime; + _loginNum = loginNum; + _tenantCode = tenantCode; + _source = source; + _expendAmount = expendAmount; + _buyTimes = buyTimes; + _lastBuyTime = lastBuyTime; + _vipNo = vipNo; + _expireTime = expireTime; + _integral = integral; + _level = level; + _vipRegStore = vipRegStore; + _certification = certification; +} + + OrderUserDetail.fromJson(dynamic json) { + _id = json['id']; + _createTime = json['createTime']; + _createUser = json['createUser']; + _updateTime = json['updateTime']; + _updateUser = json['updateUser']; + _mid = json['mid']; + _masterId = json['masterId']; + _openid = json['openid']; + _aliOpenid = json['aliOpenid']; + _douyinOpenid = json['douyinOpenid']; + _nickname = json['nickname']; + _headimg = json['headimg']; + _rankId = json['rankId']; + _rankExpireTime = json['rankExpireTime']; + _balance = json['balance']; + _realRecharge = json['realRecharge']; + _sex = json['sex']; + _status = json['status']; + _onCredit = json['onCredit']; + _loginTime = json['loginTime']; + _loginNum = json['loginNum']; + _tenantCode = json['tenantCode']; + _source = json['source']; + _expendAmount = json['expendAmount']; + _buyTimes = json['buyTimes']; + _lastBuyTime = json['lastBuyTime']; + _vipNo = json['vip_no']; + _expireTime = json['expireTime']; + _integral = json['integral']; + _level = json['level']; + _vipRegStore = json['vipRegStore']; + _certification = json['certification']; + } + String _id; + String _createTime; + String _createUser; + String _updateTime; + String _updateUser; + String _mid; + String _masterId; + String _openid; + dynamic _aliOpenid; + dynamic _douyinOpenid; + String _nickname; + String _headimg; + String _rankId; + dynamic _rankExpireTime; + String _balance; + String _realRecharge; + String _sex; + bool _status; + bool _onCredit; + String _loginTime; + num _loginNum; + String _tenantCode; + num _source; + String _expendAmount; + num _buyTimes; + String _lastBuyTime; + dynamic _vipNo; + String _expireTime; + num _integral; + num _level; + dynamic _vipRegStore; + bool _certification; +OrderUserDetail copyWith({ String id, + String createTime, + String createUser, + String updateTime, + String updateUser, + String mid, + String masterId, + String openid, + dynamic aliOpenid, + dynamic douyinOpenid, + String nickname, + String headimg, + String rankId, + dynamic rankExpireTime, + String balance, + String realRecharge, + String sex, + bool status, + bool onCredit, + String loginTime, + num loginNum, + String tenantCode, + num source, + String expendAmount, + num buyTimes, + String lastBuyTime, + dynamic vipNo, + String expireTime, + num integral, + num level, + dynamic vipRegStore, + bool certification, +}) => OrderUserDetail( id: id ?? _id, + createTime: createTime ?? _createTime, + createUser: createUser ?? _createUser, + updateTime: updateTime ?? _updateTime, + updateUser: updateUser ?? _updateUser, + mid: mid ?? _mid, + masterId: masterId ?? _masterId, + openid: openid ?? _openid, + aliOpenid: aliOpenid ?? _aliOpenid, + douyinOpenid: douyinOpenid ?? _douyinOpenid, + nickname: nickname ?? _nickname, + headimg: headimg ?? _headimg, + rankId: rankId ?? _rankId, + rankExpireTime: rankExpireTime ?? _rankExpireTime, + balance: balance ?? _balance, + realRecharge: realRecharge ?? _realRecharge, + sex: sex ?? _sex, + status: status ?? _status, + onCredit: onCredit ?? _onCredit, + loginTime: loginTime ?? _loginTime, + loginNum: loginNum ?? _loginNum, + tenantCode: tenantCode ?? _tenantCode, + source: source ?? _source, + expendAmount: expendAmount ?? _expendAmount, + buyTimes: buyTimes ?? _buyTimes, + lastBuyTime: lastBuyTime ?? _lastBuyTime, + vipNo: vipNo ?? _vipNo, + expireTime: expireTime ?? _expireTime, + integral: integral ?? _integral, + level: level ?? _level, + vipRegStore: vipRegStore ?? _vipRegStore, + certification: certification ?? _certification, +); + String get id => _id; + String get createTime => _createTime; + String get createUser => _createUser; + String get updateTime => _updateTime; + String get updateUser => _updateUser; + String get mid => _mid; + String get masterId => _masterId; + String get openid => _openid; + dynamic get aliOpenid => _aliOpenid; + dynamic get douyinOpenid => _douyinOpenid; + String get nickname => _nickname; + String get headimg => _headimg; + String get rankId => _rankId; + dynamic get rankExpireTime => _rankExpireTime; + String get balance => _balance; + String get realRecharge => _realRecharge; + String get sex => _sex; + bool get status => _status; + bool get onCredit => _onCredit; + String get loginTime => _loginTime; + num get loginNum => _loginNum; + String get tenantCode => _tenantCode; + num get source => _source; + String get expendAmount => _expendAmount; + num get buyTimes => _buyTimes; + String get lastBuyTime => _lastBuyTime; + dynamic get vipNo => _vipNo; + String get expireTime => _expireTime; + num get integral => _integral; + num get level => _level; + dynamic get vipRegStore => _vipRegStore; + bool get certification => _certification; + + Map toJson() { + final map = {}; + map['id'] = _id; + map['createTime'] = _createTime; + map['createUser'] = _createUser; + map['updateTime'] = _updateTime; + map['updateUser'] = _updateUser; + map['mid'] = _mid; + map['masterId'] = _masterId; + map['openid'] = _openid; + map['aliOpenid'] = _aliOpenid; + map['douyinOpenid'] = _douyinOpenid; + map['nickname'] = _nickname; + map['headimg'] = _headimg; + map['rankId'] = _rankId; + map['rankExpireTime'] = _rankExpireTime; + map['balance'] = _balance; + map['realRecharge'] = _realRecharge; + map['sex'] = _sex; + map['status'] = _status; + map['onCredit'] = _onCredit; + map['loginTime'] = _loginTime; + map['loginNum'] = _loginNum; + map['tenantCode'] = _tenantCode; + map['source'] = _source; + map['expendAmount'] = _expendAmount; + map['buyTimes'] = _buyTimes; + map['lastBuyTime'] = _lastBuyTime; + map['vip_no'] = _vipNo; + map['expireTime'] = _expireTime; + map['integral'] = _integral; + map['level'] = _level; + map['vipRegStore'] = _vipRegStore; + map['certification'] = _certification; + return map; + } + +} \ No newline at end of file