Commit 4be87096 by 章家宝

feat:【发拍小程序】数据库名称修改对应dao

1 parent afa456d4
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import java.util.Optional; import java.util.Optional;
/** /**
* 发拍表(车辆发拍申请)(VehicleRelease)表数据库访问层 * 发拍表(车辆发拍申请)(VrAudit)表数据库访问层
* *
* @since 2026-04-17 15:03:00 * @since 2026-04-17 15:03:00
*/ */
...@@ -172,7 +172,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -172,7 +172,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.deleteFlag = ?2, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.deleteFlag = ?2, vr.updateTime = current_timestamp where vr.id = ?1")
int updateDeleteFlagById(Long id, String deleteFlag); int updateDeleteFlagById(Long id, String deleteFlag);
/** /**
...@@ -183,7 +183,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -183,7 +183,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.status = ?2, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.status = ?2, vr.updateTime = current_timestamp where vr.id = ?1")
int updateStatusById(Long id, Integer status); int updateStatusById(Long id, Integer status);
/** /**
...@@ -195,7 +195,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -195,7 +195,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.auctionId = ?2, vr.aucvehId = ?3, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.auctionId = ?2, vr.aucvehId = ?3, vr.updateTime = current_timestamp where vr.id = ?1")
int updateAuctionInfoById(Long id, Integer auctionId, Integer aucvehId); int updateAuctionInfoById(Long id, Integer auctionId, Integer aucvehId);
/** /**
...@@ -206,7 +206,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -206,7 +206,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.submitTime = ?2, vr.status = 2, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.submitTime = ?2, vr.status = 2, vr.updateTime = current_timestamp where vr.id = ?1")
int updateSubmitTimeById(Long id, LocalDateTime submitTime); int updateSubmitTimeById(Long id, LocalDateTime submitTime);
/** /**
...@@ -218,7 +218,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -218,7 +218,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.offShelfTime = ?2, vr.offShelfReason = ?3, vr.status = 6, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.offShelfTime = ?2, vr.offShelfReason = ?3, vr.status = 6, vr.updateTime = current_timestamp where vr.id = ?1")
int updateOffShelfInfoById(Long id, LocalDateTime offShelfTime, String reason); int updateOffShelfInfoById(Long id, LocalDateTime offShelfTime, String reason);
/** /**
...@@ -229,7 +229,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -229,7 +229,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.soldTime = ?2, vr.status = 4, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.soldTime = ?2, vr.status = 4, vr.updateTime = current_timestamp where vr.id = ?1")
int updateSoldTimeById(Long id, LocalDateTime soldTime); int updateSoldTimeById(Long id, LocalDateTime soldTime);
/** /**
...@@ -241,7 +241,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> { ...@@ -241,7 +241,7 @@ public interface VrAuditRepository extends BaseRepository<VrAudit, Long> {
* @return 更新条数 * @return 更新条数
*/ */
@Modifying @Modifying
@Query("update VehicleRelease vr set vr.draftStep = ?2, vr.draftData = ?3, vr.updateTime = current_timestamp where vr.id = ?1") @Query("update VrAudit vr set vr.draftStep = ?2, vr.draftData = ?3, vr.updateTime = current_timestamp where vr.id = ?1")
int updateDraftInfoById(Long id, Integer draftStep, String draftData); int updateDraftInfoById(Long id, Integer draftStep, String draftData);
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!