更新
This commit is contained in:
parent
42f5e8f559
commit
80834d2040
@ -98,7 +98,7 @@ public class CarMainServiceImpl extends ServiceImpl<CarMainMapper, CarMain> impl
|
|||||||
//todo 计算下次保养时间,下次保养里程,下次年检时间,保险到期时间
|
//todo 计算下次保养时间,下次保养里程,下次年检时间,保险到期时间
|
||||||
baseMapper.insert(carMain);
|
baseMapper.insert(carMain);
|
||||||
// 返回
|
// 返回
|
||||||
return CommonResult.success("新增成功");
|
return CommonResult.success(carMain.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,4 +25,7 @@ public class DlRepairSoReqVO extends DlRepairSo {
|
|||||||
|
|
||||||
/**关联商品*/
|
/**关联商品*/
|
||||||
List<DlRepairSoi> soiList;
|
List<DlRepairSoi> soiList;
|
||||||
|
|
||||||
|
/**查询条件*/
|
||||||
|
private String query;
|
||||||
}
|
}
|
||||||
|
@ -75,6 +75,9 @@
|
|||||||
<if test="map.searchTimeArray != null and map.searchTimeArray.length > 0">
|
<if test="map.searchTimeArray != null and map.searchTimeArray.length > 0">
|
||||||
and (so.create_time between #{map.searchTimeArray[0]} and #{map.searchTimeArray[1]})
|
and (so.create_time between #{map.searchTimeArray[0]} and #{map.searchTimeArray[1]})
|
||||||
</if>
|
</if>
|
||||||
|
<if test="map.query != null and map.query != ''">
|
||||||
|
and (so.so_no like concat('%', #{map.query}, '%') or so.remark like concat('%', #{map.query}, '%') or dtw.license_number like concat('%', #{map.query}, '%'))
|
||||||
|
</if>
|
||||||
<if test="map.supplierId != null and map.supplierId != ''">
|
<if test="map.supplierId != null and map.supplierId != ''">
|
||||||
and so.supplier_id = #{map.supplierId}
|
and so.supplier_id = #{map.supplierId}
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user