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

zhairh
x_z 2 years ago
parent e6839a4caf
commit 098da1241b

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

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

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

Loading…
Cancel
Save