|
@@ -14,6 +14,8 @@ import com.fdkankan.sale.vo.response.RepairLogVo;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
+import javax.swing.text.rtf.RTFEditorKit;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
* 服务实现类
|
|
* 服务实现类
|
|
@@ -33,7 +35,7 @@ public class RepairLogServiceImpl extends ServiceImpl<IRepairLogMapper, RepairLo
|
|
* * 9待支付(已完结),10待发货,11已发货,12已评价
|
|
* * 9待支付(已完结),10待发货,11已发货,12已评价
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public void saveBySysUser(Long sysUserId, String repairId,Integer repairStatus,String remark) {
|
|
|
|
|
|
+ public RepairLog saveBySysUser(Long sysUserId, String repairId,Integer repairStatus,String remark) {
|
|
RepairLog repairLog = new RepairLog();
|
|
RepairLog repairLog = new RepairLog();
|
|
repairLog.setRepairId(repairId);
|
|
repairLog.setRepairId(repairId);
|
|
repairLog.setRepairStatus(repairStatus);
|
|
repairLog.setRepairStatus(repairStatus);
|
|
@@ -42,7 +44,7 @@ public class RepairLogServiceImpl extends ServiceImpl<IRepairLogMapper, RepairLo
|
|
repairLog.setUpdateTime(null);
|
|
repairLog.setUpdateTime(null);
|
|
this.save(repairLog);
|
|
this.save(repairLog);
|
|
repairService.updateRepairStatus(repairId,repairStatus);
|
|
repairService.updateRepairStatus(repairId,repairStatus);
|
|
-
|
|
|
|
|
|
+ return repairLog;
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|