XiaoRuby
2023-09-09 e341cd5d33759cf1da2ea8bc7dd9a8c017b91228
MOM系统-9-09
已修改3个文件
14 ■■■■■ 文件已修改
inspect-server/src/main/java/com/yuanchu/mom/service/impl/RawInspectServiceImpl.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
inspect-server/src/main/resources/mapper/RawInspectMapper.xml 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
system-run/src/main/resources/application-dev.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
inspect-server/src/main/java/com/yuanchu/mom/service/impl/RawInspectServiceImpl.java
@@ -106,6 +106,8 @@
    //根据检验单id查询原材料检验单详情
    @Override
    public Map<String, Object> selectRawInspectsListById(Integer id) {
        Map<String, Object> map = rawInspectMapper.selectRawInspectsListById(id);
        MyUtil.PrintLog(map.toString());
        return rawInspectMapper.selectRawInspectsListById(id);
    }
inspect-server/src/main/resources/mapper/RawInspectMapper.xml
@@ -60,10 +60,10 @@
    <!--根据原材料检验单id查看详情-->
    <resultMap id="oneMap" type="map">
        <id property="rcode" column="rcode"/>
        <id property="code" column="rcode"/>
        <result property="formTime" column="formTime"/>
        <result property="creatTime" column="creatTime"/>
        <result property="rname" column="rname"/>
        <result property="name" column="rname"/>
        <result property="specifications" column="specifications"/>
        <result property="runit" column="runit"/>
        <result property="number" column="number"/>
@@ -72,7 +72,7 @@
        <result property="userName" column="user_name"/>
        <collection property="children" resultMap="twoMap" javaType="List"/>
    </resultMap>
    <resultMap id="twoMap" type="map">
    <resultMap id="twoMap" type="Map">
        <id property="rpId" column="rpId"/>
        <result property="rpName" column="rpName"/>
        <result property="rpUnit" column="rpUnit"/>
@@ -80,7 +80,8 @@
        <result property="internal" column="internal"/>
        <result property="testValue" column="test_value"/>
        <result property="testState" column="test_state"/>
        <result property="devName" column="devName"/>
        <result property="deviceName" column="devName"/>
        <result property="deviceId" column="deviceId"/>
        <result property="uName" column="uName"/>
    </resultMap>
@@ -103,6 +104,7 @@
               test_value,
               test_state,
               device.name                            devName,
               device.`id`                            deviceId,
               user.name                              uName
        from mom_ocean.raw_ins_product rp
                 left join mom_ocean.raw_inspect r on rp.raw_inspect_id = r.id
system-run/src/main/resources/application-dev.yml
@@ -5,7 +5,7 @@
logging:
  config: classpath:logback-spring.xml
  # 日志存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
  file-location:
  file-location: /abc
# 数据库备份路径
backup: