提交相关代码
This commit is contained in:
parent
9a95b50acb
commit
51d382382f
|
|
@ -20,7 +20,7 @@ public interface RemoteDevInfoService
|
||||||
* @param maId
|
* @param maId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping(value = "/dev/{maId}")
|
@GetMapping(value = "/dev/getInfo/{maId}")
|
||||||
public AjaxResult getInfo(@PathVariable("maId") Long maId);
|
public AjaxResult getInfo(@PathVariable("maId") Long maId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -99,3 +99,4 @@ public interface DevInfoMapper
|
||||||
|
|
||||||
List<DevInfoVo> selectDevInfoLists(DevInfoVo devInfo);
|
List<DevInfoVo> selectDevInfoLists(DevInfoVo devInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -212,6 +212,7 @@ public class DevInfoServiceImpl implements IDevInfoService
|
||||||
devInfo.setCreator(userId);
|
devInfo.setCreator(userId);
|
||||||
devInfo.setCode(String.valueOf(UUID.randomUUID()));
|
devInfo.setCode(String.valueOf(UUID.randomUUID()));
|
||||||
devInfoMapper.insertDevInfo(devInfo);
|
devInfoMapper.insertDevInfo(devInfo);
|
||||||
|
|
||||||
//把文件保存到附件中
|
//把文件保存到附件中
|
||||||
List<SysFileInfo> fileInfoList = devInfo.getFileList();
|
List<SysFileInfo> fileInfoList = devInfo.getFileList();
|
||||||
if (fileInfoList.size()>0){
|
if (fileInfoList.size()>0){
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ import com.bonus.zlpt.order.mapper.OrderInfoMapper;
|
||||||
import com.bonus.zlpt.common.core.domain.order.OrderInfo;
|
import com.bonus.zlpt.common.core.domain.order.OrderInfo;
|
||||||
import com.bonus.zlpt.order.service.IOrderInfoService;
|
import com.bonus.zlpt.order.service.IOrderInfoService;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单信息Service业务层处理
|
* 订单信息Service业务层处理
|
||||||
*
|
*
|
||||||
|
|
@ -24,9 +26,9 @@ import com.bonus.zlpt.order.service.IOrderInfoService;
|
||||||
public class OrderInfoServiceImpl implements IOrderInfoService
|
public class OrderInfoServiceImpl implements IOrderInfoService
|
||||||
{
|
{
|
||||||
private final Integer ORDER_ATTACHMENT_DIC_ID = 21;
|
private final Integer ORDER_ATTACHMENT_DIC_ID = 21;
|
||||||
@Autowired
|
@Resource
|
||||||
private OrderInfoMapper orderInfoMapper;
|
private OrderInfoMapper orderInfoMapper;
|
||||||
@Autowired
|
@Resource
|
||||||
OrderDetailsMapper orderDetailsMapper;
|
OrderDetailsMapper orderDetailsMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue