Commit 68f417cf authored by 周健威's avatar 周健威

Merge remote-tracking branch 'origin/dev-chw' into dev-chw

parents bd77492a e1b20e56
...@@ -15,7 +15,7 @@ public interface VehicleApplyMapper extends Mapper<VehicleApply>, SelectByIdList ...@@ -15,7 +15,7 @@ public interface VehicleApplyMapper extends Mapper<VehicleApply>, SelectByIdList
List<VehicleApplyVo> selectList(VehicleApplyFindDTO vehicleApplyFindDTO); List<VehicleApplyVo> selectList(VehicleApplyFindDTO vehicleApplyFindDTO);
@Select("SELECT * FROM vehicle_apply WHERE vehicle_id=#{vehicleId} and form_type=2 ORDER BY upd_time DESC LIMIT 1") @Select("SELECT * FROM vehicle_apply WHERE vehicle_id=#{vehicleId} and form_type=2 and is_del = 0 ORDER BY upd_time DESC LIMIT 1")
VehicleApply getOneByOrderUpdTime(@Param("vehicleId") String vehicleId); VehicleApply getOneByOrderUpdTime(@Param("vehicleId") String vehicleId);
List<VehicleApplyVo> selectListByApp(VehicleApplyFindDTO vehicleApplyFindDTO); List<VehicleApplyVo> selectListByApp(VehicleApplyFindDTO vehicleApplyFindDTO);
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
FROM vehicle_apply a FROM vehicle_apply a
LEFT JOIN branch_company i on a.subordinate_branch=i.id LEFT JOIN branch_company i on a.subordinate_branch=i.id
<where> <where>
a.is_del = 0
<if test="name != null and name != ''"> <if test="name != null and name != ''">
AND ( a.`name` like concat('%',#{name},'%') or i.`name` like concat('%',#{name},'%') ) AND ( a.`name` like concat('%',#{name},'%') or i.`name` like concat('%',#{name},'%') )
</if> </if>
......
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