Browse Source

验车检查表修改

master
hp 3 years ago
parent
commit
3a1c8f6f83
  1. 3
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinspectitem/AppScmVehinspectItemInfoVo.java
  2. 1
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehinspectitem/ScmVehinspectItemService.java
  3. 2
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehinspectitemimg/ScmVehinspectItemimgMapper.xml

3
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinspectitem/AppScmVehinspectItemInfoVo.java

@ -17,6 +17,9 @@ public class AppScmVehinspectItemInfoVo implements Vo {
@ApiModelProperty("项目名称")
private String itemConten;
@ApiModelProperty("项目图标")
private String iconUrl;
@ApiModelProperty("检查结果:1是,0否,2无结果,默认2")
private Integer result;

1
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehinspectitem/ScmVehinspectItemService.java

@ -147,6 +147,7 @@ public class ScmVehinspectItemService extends MybatisBaseService<ScmVehinspectIt
AppScmVehinspectItemInfoVo vo = new AppScmVehinspectItemInfoVo();
ScmVehinspectItem scmVehinspectItem = fetchBySid(sid);
vo.setIconUrl(fileUploadComponent.getUrlPrefix() + scmVehinspectItem.getIconUrl());
vo.setSid(sid);
vo.setVehInspectSid(scmVehinspectItem.getVehInspectSid());
vo.setResult(scmVehinspectItem.getResult());

2
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehinspectitemimg/ScmVehinspectItemimgMapper.xml

@ -48,6 +48,6 @@
update scm_vehinspect_itemimg
set imgTitle =#{imgTitle},
imgUrl =#{imgUrl}
where mainSid = #{sid}
where sid = #{sid}
</update>
</mapper>
Loading…
Cancel
Save