1.修复设备养护备注字段未保存的问题

zhairh
x_z 2 years ago
parent e6839a4caf
commit 098da1241b

@ -39,4 +39,9 @@ public class FilterDeviceCollectOrderDetailRequest extends ListPageRequest {
*/
private String collectUser;
/**
*
*/
private Integer status;
}

@ -158,6 +158,7 @@ public class DeviceMAOrderServiceImpl implements DeviceMAOrderService {
detailEntity.setSerialNo(deviceCollectOrderDetail.getSerialNo());
detailEntity.setMaintenanceStatus(addDeviceMAOrderRequest.getMaintenanceStatus());
detailEntity.setDeviceStatus(addDeviceMAOrderRequest.getDeviceStatus());
detailEntity.setRemark(addDeviceMAOrderRequest.getRemark());
deviceMAOrderDao.insert(deviceMAOrderEntity);
deviceMaOrderDetailDao.insert(detailEntity);

@ -381,6 +381,8 @@
<if test="deptCode != null and deptCode != ''">
AND dco.deptCode = #{deptCode}
</if>
<if test="status != null"></if>
AND dco.status = #{status}
</where>
group by dcod.code
</select>

Loading…
Cancel
Save