Commit 83f9a876 authored by 刘林's avatar 刘林

fix(jg):修改生产环境车用气瓶Bug

parent e9917d08
......@@ -16,7 +16,7 @@
and tjvi.car_number like concat('%',#{dto.carNumber},'%')
</if>
<if test="dto.regDate != null and dto.regDate != ''">
and tjvi.reg_date like concat('%',DATE_FORMAT(#{dto.reg_date},'%Y-%m-%d'),'%')
and tjvi.reg_date like concat('%',DATE_FORMAT(#{dto.regDate},'%Y-%m-%d'),'%')
</if>
<if test="dto.auditPassDate != null and dto.auditPassDate != ''">
and tjvi.audit_pass_date like concat('%',DATE_FORMAT(#{dto.auditPassDate},'%Y-%m-%d'),'%')
......
......@@ -283,6 +283,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
JgVehicleInformation vehicleInformation = new JgVehicleInformation();
BeanUtils.copyProperties(vehicleInfoDto, vehicleInformation);
vehicleInformation.setCreateUserId(reginParams.getUserModel().getUserId());
vehicleInformation.setRegDate(new Date());
vehicleInformation.setCreateUserName(reginParams.getUserModel().getRealName());
vehicleInformation.setGasNum(equipmentLists.size());
vehicleInformation.setVolume(String.valueOf(equipmentLists.stream()
......
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