详情页增加检测记录
This commit is contained in:
parent
9b2342d295
commit
6e87427cfa
|
|
@ -75,9 +75,13 @@ public class MaDevQc extends BaseEntity implements Serializable {
|
||||||
@ApiModelProperty(value = "创建人所属公司")
|
@ApiModelProperty(value = "创建人所属公司")
|
||||||
private String qcCom;
|
private String qcCom;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建人所属公司名称")
|
||||||
|
private String comName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "质检次数")
|
@ApiModelProperty(value = "质检次数")
|
||||||
private Integer minNum;
|
private Integer minNum;
|
||||||
private Integer maxNum;
|
private Integer maxNum;
|
||||||
|
|
||||||
|
private Integer maintenanceAlarmDay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="getQcList" resultType="com.bonus.material.device.domain.MaDevQc">
|
<select id="getQcList" resultType="com.bonus.material.device.domain.MaDevQc">
|
||||||
select * from ma_dev_qc where ma_id = #{maId} limit 10
|
SELECT
|
||||||
|
mdc.qc_time,
|
||||||
|
mt.maintenance_alarm_day,
|
||||||
|
sd.dept_name comName
|
||||||
|
FROM
|
||||||
|
ma_dev_qc mdc
|
||||||
|
LEFT JOIN ma_dev_info mdi ON mdc.ma_id = mdi.ma_id
|
||||||
|
LEFT JOIN ma_type mt ON mdi.type_id = mt.type_id
|
||||||
|
LEFT JOIN sys_dept sd ON mdc.qc_com = sd.dept_id
|
||||||
|
WHERE
|
||||||
|
mdc.ma_id = #{maId}
|
||||||
|
LIMIT 10
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue