Commit 4c37e9da authored by hezhen's avatar hezhen

修改自动审核

parent 1d5974c9
...@@ -17,6 +17,7 @@ public interface CompanyInfoApplyMapper extends Mapper<CompanyInfoApply>, Select ...@@ -17,6 +17,7 @@ public interface CompanyInfoApplyMapper extends Mapper<CompanyInfoApply>, Select
@Select("SELECT * FROM company_info_apply WHERE branch_id=#{branchId} and form_type=2 ORDER BY upd_time DESC LIMIT 1") @Select("SELECT * FROM company_info_apply WHERE branch_id=#{branchId} and form_type=2 ORDER BY upd_time DESC LIMIT 1")
CompanyInfoApply getOneByOrderUpdTime(@Param("branchId")Long branchId); CompanyInfoApply getOneByOrderUpdTime(@Param("branchId")Long branchId);
@Select("SELECT * FROM company_info_apply WHERE `status` = 0 AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))") @Select("SELECT * FROM company_info_apply WHERE `status` = 0 ")
// AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))
List<CompanyInfoApply> getListByDay(); List<CompanyInfoApply> getListByDay();
} }
\ No newline at end of file
...@@ -21,7 +21,8 @@ public interface VehicleApplyMapper extends Mapper<VehicleApply>, SelectByIdList ...@@ -21,7 +21,8 @@ public interface VehicleApplyMapper extends Mapper<VehicleApply>, SelectByIdList
List<VehicleApplyVo> selectListByApp(VehicleApplyFindDTO vehicleApplyFindDTO); List<VehicleApplyVo> selectListByApp(VehicleApplyFindDTO vehicleApplyFindDTO);
@Select("SELECT * FROM vehicle_apply WHERE `apply_status` = 0 AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))") @Select("SELECT * FROM vehicle_apply WHERE `apply_status` = 0 ")
//AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))
List<VehicleApply> getListByDay(); List<VehicleApply> getListByDay();
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment