Commit 8474b746 by wangnb

包活干V2.0.0功能开发--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28225 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent e8a6de31
......@@ -341,10 +341,9 @@ public class OrderController extends BaseController {
@RequestMapping(value = "/appoint", method = {RequestMethod.GET, RequestMethod.POST})
public ResultObject appoint(HttpServletRequest request, Integer id, String serviceDate, String reserveInstallReason,
String reserveMan, String reserveManPhone) {
ResultObject result = new ResultObject();
Date now = new Date();
Integer userId = UserUtils.getUserId(request);
result = orderService.appoint(id, now, reserveMan, reserveManPhone, serviceDate, reserveInstallReason, userId);
ResultObject result = orderService.appoint(id, now, reserveMan, reserveManPhone, serviceDate, reserveInstallReason, userId);
if (ResultCodeEnum.SUCCESS.getCode() == result.getCode()) {
oraOrderService.synchronizeReserveOrderMessage(id);
}
......
......@@ -9,7 +9,7 @@ import java.util.List;
* @version 1.0.0
* @Title ReserveInstallLogService
* @Package com.glsx.ordercenter.service
* @Description ${todo}
* @Description 预约安装日志service
* @date 2019/6/5 11:18
*/
public interface ReserveInstallLogService {
......
......@@ -13,22 +13,22 @@ import java.util.List;
* @version 1.0.0
* @Title ReserveInstallLogServiceImpl
* @Package com.glsx.ordercenter.service.impl
* @Description ${todo}
* @Description 预约安装日志service实现
* @date 2019/6/5 11:19
*/
@Service
public class ReserveInstallLogServiceImpl implements ReserveInstallLogService {
@Autowired
SysReserveInstallLogMapper sysReserveInstallLogMapper;
SysReserveInstallLogMapper installLogMapper;
@Override
public void insert(SysReserveInstallLog sysReserveInstallLog) {
sysReserveInstallLogMapper.insertSelective(sysReserveInstallLog);
installLogMapper.insertSelective(sysReserveInstallLog);
}
@Override
public List<SysReserveInstallLog> getReserveLog(Integer id) {
return sysReserveInstallLogMapper.getReserveLog(id);
return installLogMapper.getReserveLog(id);
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!