Browse Source

时间格式不对

杨江 3 years ago
parent
commit
ccedefece5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      nngkxxdp/src/main/resources/mapper/WebsiteSmsDao.xml

+ 2 - 2
nngkxxdp/src/main/resources/mapper/WebsiteSmsDao.xml

@@ -24,8 +24,8 @@
     </select>
 
     <select id="getWebsiteSmsDetail" resultType="java.util.Map">
-        SELECT id,create_time,lead_phone,send_content from w_sms where id=#{id} ORDER BY create_time DESC
-            LIMIT 15
+        SELECT id, DATE_FORMAT(create_time, '%Y-%m-%d %H:%i' ) create_time,lead_phone,send_content from w_sms where id=#{id} ORDER BY create_time DESC
+            LIMIT 999999999
     </select>
 
     <insert id="setWebsiteSms" parameterType="com.example.nngkxxdp.entity.Wsms">