| | |
| | | @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") |
| | |
| | | </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> |
| | | |
| | | <!--查询项目模版根据样品名--> |
| | |
| | | where state = 1 |
| | | and material =#{name} |
| | | </select> |
| | | </mapper> |
| | | </mapper> |