fllmoyu 4 vuotta sitten
vanhempi
commit
1464b1f183

+ 1 - 1
common/src/main/java/com/jpsoft/enterprise/modules/base/dto/OrderDetailDTO.java

@@ -56,7 +56,7 @@ public class OrderDetailDTO {
 
     private String accountNo;
 
-    private String ticketStatus;
+    private String ticketUrl;
 
     public String getPayStatusStr() {
         if (payStatus.equals(10)){

+ 1 - 1
common/src/main/java/com/jpsoft/enterprise/modules/base/entity/BillDetailInfo.java

@@ -59,7 +59,7 @@ public class BillDetailInfo {
 
    private Integer sortNo;
 
-   private String ticketStatus = "0";
+   private String ticketUrl;
 
 
 }

+ 5 - 5
common/src/main/resources/mapper/base/BillDetailInfo.xml

@@ -16,7 +16,7 @@
         <result property="updateTime" column="update_time" />
         <result property="delFlag" column="del_flag" />
         <result property="sortNo" column="sort_no"/>
-        <result property="ticketStatus" column="ticket_status"/>
+        <result property="ticketUrl" column="ticket_url"/>
     </resultMap>
     <insert id="insert" parameterType="com.jpsoft.enterprise.modules.base.entity.BillDetailInfo">
         <!--
@@ -26,7 +26,7 @@
         -->
         <![CDATA[
 		insert into base_bill_detail_info
-	    (id_,bill_id,order_id,company_id,bill_detail,rush_status,create_by,create_time,update_by,update_time,del_flag,sort_no,ticket_status)
+	    (id_,bill_id,order_id,company_id,bill_detail,rush_status,create_by,create_time,update_by,update_time,del_flag,sort_no,ticket_url)
 		values
 		(
 #{id,jdbcType=VARCHAR}
@@ -41,7 +41,7 @@
 ,#{updateTime,jdbcType= TIMESTAMP }
 ,#{delFlag,jdbcType= NUMERIC }
 ,#{sortNo,jdbcType=INTEGER}
-,#{ticketStatus,jdbcType=VARCHAR}
+,#{ticketUrl,jdbcType=VARCHAR}
 		)
 	]]>
     </insert>
@@ -84,8 +84,8 @@
             <if test="sortNo != null">
                 sort_no = #{sortNo,jdbcType=INTEGER},
             </if>
-            <if test="ticketStatus != null">
-                ticket_status = #{ticketStatus,jdbcType=VARCHAR}
+            <if test="ticketUrl != null">
+                ticket_url = #{ticketUrl,jdbcType=VARCHAR}
             </if>
         </set>
         where id_=#{id}

+ 1 - 1
web/src/main/java/com/jpsoft/enterprise/modules/mobile/controller/OrderInfoApiController.java

@@ -157,7 +157,7 @@ public class OrderInfoApiController {
             orderDetailDTO.setAccountNo(accountInfo.getAccountNo());
             orderDetailDTO.setPayStatusStr(orderDetailDTO.getPayStatusStr());
             orderDetailDTO.setPayNameStr(orderDetailDTO.getPayNameStr());
-            orderDetailDTO.setTicketStatus(billDetailInfo.getTicketStatus());
+            orderDetailDTO.setTicketUrl(billDetailInfo.getTicketUrl());
 
             List<DetailDTO> detailDTOList = new ArrayList<>();
             JSONObject jsonObject = JSONUtil.parseObj(billDetailInfo.getBillDetail());