Commit 3def45f638178c1ca1f249632d2bbcb397b43ec6
1 parent
72d00986
为车队大屏-线路加入类别和属性字段1
Showing
1 changed file
with
5 additions
and
7 deletions
src/main/java/com/bsth/repository/LineRepository.java
| 1 | package com.bsth.repository; | 1 | package com.bsth.repository; |
| 2 | 2 | ||
| 3 | -import java.util.Date; | ||
| 4 | -import java.util.List; | ||
| 5 | -import java.util.Map; | ||
| 6 | - | 3 | +import com.bsth.entity.Line; |
| 7 | import org.springframework.data.jpa.repository.Modifying; | 4 | import org.springframework.data.jpa.repository.Modifying; |
| 8 | import org.springframework.data.jpa.repository.Query; | 5 | import org.springframework.data.jpa.repository.Query; |
| 9 | import org.springframework.stereotype.Repository; | 6 | import org.springframework.stereotype.Repository; |
| 10 | import org.springframework.transaction.annotation.Transactional; | 7 | import org.springframework.transaction.annotation.Transactional; |
| 11 | 8 | ||
| 12 | -import com.bsth.entity.Line; | 9 | +import java.util.Date; |
| 10 | +import java.util.List; | ||
| 13 | 11 | ||
| 14 | /** | 12 | /** |
| 15 | * | 13 | * |
| @@ -68,14 +66,14 @@ public interface LineRepository extends BaseRepository<Line, Integer> { | @@ -68,14 +66,14 @@ public interface LineRepository extends BaseRepository<Line, Integer> { | ||
| 68 | + "l.startStationEndTime=?9, l.endStationFirstTime=?10, l.endStationEndTime=?11, l.linePlayType=?12, " | 66 | + "l.startStationEndTime=?9, l.endStationFirstTime=?10, l.endStationEndTime=?11, l.linePlayType=?12, " |
| 69 | + "l.openDate=?13, l.es=?14, l.shortName=?15, l.shanghaiLinecode=?16, l.eqLinecode=?17, l.startPhone=?18, " | 67 | + "l.openDate=?13, l.es=?14, l.shortName=?15, l.shanghaiLinecode=?16, l.eqLinecode=?17, l.startPhone=?18, " |
| 70 | + "l.endPhone=?19, l.carSumNumber=?20, l.hvacCarNumber=?21, l.ordCarNumber=?22, l.history=?23, " | 68 | + "l.endPhone=?19, l.carSumNumber=?20, l.hvacCarNumber=?21, l.ordCarNumber=?22, l.history=?23, " |
| 71 | - + "l.descriptions=?24, l.destroy=?25, l.supperLine=?26, l.spacGrade=?27, l.warrantCar=?28, l.region=?30 , l.inUse=?31 , l.ticketPrice=?32 where " | 69 | + + "l.descriptions=?24, l.destroy=?25, l.supperLine=?26, l.spacGrade=?27, l.warrantCar=?28, l.region=?30 , l.inUse=?31 , l.ticketPrice=?32,l.attribute=?33,l.lineStatus=?34 where " |
| 72 | + "l.lineCode=?29") | 70 | + "l.lineCode=?29") |
| 73 | int update(String name, String company, String brancheCompany, String level, String nature, | 71 | int update(String name, String company, String brancheCompany, String level, String nature, |
| 74 | String startStationName, String endStationName, String startStationFirstTime, String startStationEndTime, | 72 | String startStationName, String endStationName, String startStationFirstTime, String startStationEndTime, |
| 75 | String endStationFirstTime, String endStationEndTime, Integer linePlayType, Date openDate, String es, | 73 | String endStationFirstTime, String endStationEndTime, Integer linePlayType, Date openDate, String es, |
| 76 | String shortName, String shanghaiLinecode, String eqLinecode, String startPhone, String endPhone, | 74 | String shortName, String shanghaiLinecode, String eqLinecode, String startPhone, String endPhone, |
| 77 | Integer carSumNumber, Integer hvacCarNumber, Integer ordCarNumber, String history, String descriptions, | 75 | Integer carSumNumber, Integer hvacCarNumber, Integer ordCarNumber, String history, String descriptions, |
| 78 | - Integer destroy, Integer supperLine, Integer spacGrade, Integer warrantCar, String lineCode, Integer region, Integer inUser, String ticketPrice); | 76 | + Integer destroy, Integer supperLine, Integer spacGrade, Integer warrantCar, String lineCode, Integer region, Integer inUser, String ticketPrice,Integer attribute,Integer lineStatus); |
| 79 | 77 | ||
| 80 | /** | 78 | /** |
| 81 | * 查询线路版本文件 | 79 | * 查询线路版本文件 |