接口联调
This commit is contained in:
parent
57bade227a
commit
55ce855d68
|
|
@ -48,6 +48,9 @@ public class LeaseOutDetails extends BaseEntity {
|
|||
@ApiModelProperty(value = "机具状态")
|
||||
private String maStatus;
|
||||
|
||||
@ApiModelProperty(value = "机具状态名称")
|
||||
private String statusName;
|
||||
|
||||
@ApiModelProperty(value = "二维码code")
|
||||
private String qrCode;
|
||||
|
||||
|
|
|
|||
|
|
@ -170,14 +170,7 @@ public class LeaseOutDetailsServiceImpl implements ILeaseOutDetailsService {
|
|||
record.setOutType(InputOutEnum.NUMBER_DEVICE.getTypeId());
|
||||
} else if (record.getManageType().equals(MaTypeManageTypeEnum.CODE_DEVICE.getTypeId())) {
|
||||
record.setOutType(InputOutEnum.CODE_DEVICE.getTypeId());
|
||||
} else if (record.getManageType().equals(InputOutEnum.STANDARD_BOX.getTypeId())) {
|
||||
// 标准箱
|
||||
record.setOutType(InputOutEnum.STANDARD_BOX.getTypeId());
|
||||
} else if (record.getManageType().equals(InputOutEnum.QR_CODE.getTypeId())) {
|
||||
// 二维码
|
||||
record.setOutType(InputOutEnum.QR_CODE.getTypeId());
|
||||
}
|
||||
|
||||
res = checkStorageNum(record);
|
||||
|
||||
if (res > 0) {
|
||||
|
|
|
|||
|
|
@ -243,7 +243,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
mm.ma_code as maCode,
|
||||
mm.type_id as typeId,
|
||||
mm.ma_status as maStatus,
|
||||
mm.qr_code as qrCode
|
||||
mm.qr_code as qrCode,
|
||||
case when mm.ma_status = '1' then '在库'
|
||||
else ''
|
||||
end as statusName
|
||||
FROM ma_machine mm
|
||||
LEFT JOIN ma_type mt ON mm.type_id = mt.type_id AND mt.del_flag = '0'
|
||||
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id AND mt1.del_flag = '0'
|
||||
|
|
|
|||
Loading…
Reference in New Issue