|
@@ -72,7 +72,12 @@ public class OrderServiceImpl implements IOrderService {
|
|
|
ordInf.setEquipmentId(equNo); //售货机编号
|
|
|
ordInf.setState("91"); //91未支付
|
|
|
ordInf.setRemarks("会员下单,售货机编号:"+equNo); //备注
|
|
|
- ordInf.setIsDraw("00"); //是否中奖:00未中奖01中奖
|
|
|
+ //是否中奖:00未中奖01中奖
|
|
|
+ if("00".equals(proType)){
|
|
|
+ ordInf.setIsDraw("02");
|
|
|
+ }else if("01".equals(proType)){
|
|
|
+ ordInf.setIsDraw("00");
|
|
|
+ }
|
|
|
ordInf.setIsUsed("01"); //是否使用:00已使用01未使用
|
|
|
ordInf.setProType(proType); //商品交易类别:00正常商品01抽奖商品
|
|
|
ordInf.setRecordId(""); //结算编号
|