XiaoRuby
2023-08-21 c968f678ea03f7fd0a9071b63e60c144f63da380
LIMS管理系统框架-开发8-21
已修改2个文件
11 ■■■■ 文件已修改
standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Material.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
standard-server/src/main/resources/mapper/ProductModelMapper.xml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Material.java
@@ -39,7 +39,7 @@
    @ApiModelProperty(value = "物料名称", example = "石头", required = true)
    private String name;
    @ApiModelProperty(value = "0:原材料;1:成品;2:半成品", example = "1")
    @ApiModelProperty(value = "0:原材料;1:成品;", example = "1")
    private Integer type;
    @TableLogic(value = "1", delval = "0")
standard-server/src/main/resources/mapper/ProductModelMapper.xml
@@ -26,9 +26,10 @@
    </update>
    <!--添加标准选择项目分组-->
    <select id="selectfather" resultType="java.lang.String">
        select distinct father
        from lims_laboratory.product_model
        where state = 1
        SELECT DISTINCT father
        FROM lims_laboratory.product_model
        WHERE father IS NOT NULL
          AND father != ''
    </select>
    <!--查询项目模版根据样品名-->
@@ -40,4 +41,4 @@
        where state = 1
          and material =#{name}
    </select>
</mapper>
</mapper>