浏览代码

联合丽格 付款管理bugfix

kaick 1 年之前
父节点
当前提交
59486b0bb1

+ 6 - 6
src/main/resources/config/dev/caimei.properties

@@ -12,14 +12,14 @@
 #mysql database setting
 jdbc.type=mysql
 jdbc.driver=com.mysql.cj.jdbc.Driver
-jdbc.url=jdbc:mysql://120.79.25.27:3306/caimei?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
-jdbc.username=developer
-jdbc.password=J5p3tgOVazNl4ydf
+#jdbc.url=jdbc:mysql://120.79.25.27:3306/caimei?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
+#jdbc.username=developer
+#jdbc.password=J5p3tgOVazNl4ydf
 
 
-#jdbc.url=jdbc:mysql://192.168.2.100:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
-#jdbc.username=developer
-#jdbc.password=05bZ/OxTB:X+yd%1
+jdbc.url=jdbc:mysql://192.168.2.100:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
+jdbc.username=developer
+jdbc.password=05bZ/OxTB:X+yd%1
 
 #jdbc.url=jdbc:mysql://119.29.0.46:3306/caimei?useUnicode=true&characterEncoding=utf-8
 #jdbc.username=root

+ 10 - 5
src/main/webapp/WEB-INF/views/modules/order/orderDetail.jsp

@@ -879,14 +879,12 @@
                 <c:if test="${order.organizeID != 4&&shopOrder.commercialCode eq 'E1807059160' && (order.receiptStatus == 2 || order.receiptStatus == 3)}">
                     <font color="red">(采美信息线上收款)</font>
                 </c:if>
-                <c:if test="${order.organizeID == 4}">
-                    <c:if test="${ voucherVo eq null &&voucher.addTime eq null }">
+                    <c:if test="${order.organizeID == 4&& voucherVo eq null }">
                         <font color="red">(联合丽格线上收款)</font>
                     </c:if>
-                    <c:if test="${ voucherVo ne null &&voucher.addTime ne null }">
+                    <c:if test="${order.organizeID == 4&& voucherVo ne null }">
                         <font color="red">(联合丽格线下收款)</font>
                     </c:if>
-                </c:if>
             </span>
             <span>待付金额:<fmt:formatNumber value="${shopOrder.restAmount}" type="currency"/></span>
             <br/>
@@ -954,6 +952,12 @@
                         <c:if test="${shopOrder.payStatus == 3 or shopOrder.payStatus == 2}">
                                 <span>
                                     已付金额: <fmt:formatNumber value="${shopOrder.payed}" type="currency"/>
+                                      <c:if test="${order.organizeID == 4&& voucherVo eq null }">
+                                          <font color="red">(联合丽格线上收款)</font>
+                                      </c:if>
+                                        <c:if test="${order.organizeID == 4&& voucherVo ne null }">
+                                            <font color="red">(联合丽格线下收款)</font>
+                                        </c:if>
                                 </span>
                         </c:if>
                     </div>
@@ -1265,8 +1269,9 @@
     </div>
 </c:if>
 <%--</c:if>--%>
-<c:if test="${order.organizeID == 4&& voucherVo ne null &&voucher.addTime ne null  }">
+<c:if test="${order.organizeID == 4&& voucherVo ne null }">
     <div class="order-rows">
+
         <label>线下支付凭证:</label>
         <c:forEach items="${voucherVo}" var="voucher">
             <div>