瀏覽代碼

订单资料列表增加上传时间

Aslee 3 年之前
父節點
當前提交
68b1577a3a

+ 1 - 1
src/main/resources/mappings/modules/archive/CmOrderArchiveMapper.xml

@@ -114,7 +114,7 @@
         </choose>
     </select>
     <select id="getArchiveFileList" resultType="com.caimei.modules.archive.entity.CmOrderArchiveFile">
-        select id, fileName, ossName, ossUrl
+        select id, fileName, ossName, ossUrl, uploadTime
         from cm_order_archive_file
         where orderArchiveId = #{archiveId}
     </select>

+ 5 - 1
src/main/webapp/WEB-INF/views/modules/archive/cmOrderArchiveFileList.jsp

@@ -85,6 +85,7 @@
     <tr>
         <th>序号</th>
         <th>资料</th>
+        <th>时间</th>
         <th>操作</th>
     </tr>
     </thead>
@@ -93,7 +94,10 @@
         <tr>
             <td>${varIndex.index+1}</td>
             <td>
-                    ${cmOrderArchiveFile.fileName}
+                ${cmOrderArchiveFile.fileName}
+            </td>
+            <td>
+                <fmt:formatDate value="${cmOrderArchiveFile.uploadTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
             </td>
             <td>
                 <a onclick="previewFile('${cmOrderArchiveFile.ossUrl}')" target="_blank">预览</a>