Browse Source

20201121v1.8

tiaosheng
zy_Java 5 years ago
parent
commit
b457ad83c1
  1. 2
      mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml

2
mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml

@ -52,7 +52,7 @@
</select> </select>
<select id="selectDetail" resultMap="qwe" parameterType="java.util.Map"> <select id="selectDetail" resultMap="qwe" parameterType="java.util.Map">
SELECT SELECT
FROM_UNIXTIME(start_time/1000,'%y-%m-%d') as startDate, FROM_UNIXTIME(start_time/1000,'%Y-%m-%d') as startDate,
if(a.aa = 1,p.`name`,null) as projectName, if(a.aa = 1,p.`name`,null) as projectName,
if(a.aa = 0,p.`name`,null) as projectNamep, if(a.aa = 0,p.`name`,null) as projectNamep,
if(a.aa = 1,c.start_time,null) as start_time, if(a.aa = 1,c.start_time,null) as start_time,

Loading…
Cancel
Save