租赁协议
This commit is contained in:
		
							parent
							
								
									df8a7f3245
								
							
						
					
					
						commit
						3def5e57ca
					
				| 
						 | 
					@ -244,8 +244,8 @@ public class OrderController extends BaseController {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @ApiOperation(value = "购物车协议(查看)-word方式")
 | 
					    @ApiOperation(value = "购物车协议(查看)-word方式")
 | 
				
			||||||
    @GetMapping("/bookCarAgreement")
 | 
					    @PostMapping("/bookCarAgreement")
 | 
				
			||||||
    public AjaxResult bookCarAgreement(OrderInfoDto orderInfoDto, Map<String, String> replacements) throws ParseException, IOException {
 | 
					    public AjaxResult bookCarAgreement(@RequestBody OrderInfoDto orderInfoDto) throws ParseException, IOException {
 | 
				
			||||||
        if (orderInfoDto != null) {
 | 
					        if (orderInfoDto != null) {
 | 
				
			||||||
            BmContract bmContract = new BmContract();
 | 
					            BmContract bmContract = new BmContract();
 | 
				
			||||||
            bmContract.setStatus(1);
 | 
					            bmContract.setStatus(1);
 | 
				
			||||||
| 
						 | 
					@ -255,6 +255,7 @@ public class OrderController extends BaseController {
 | 
				
			||||||
            XWPFDocument document = new XWPFDocument(inputStream);
 | 
					            XWPFDocument document = new XWPFDocument(inputStream);
 | 
				
			||||||
            SimpleDateFormat inputFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.ENGLISH);
 | 
					            SimpleDateFormat inputFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.ENGLISH);
 | 
				
			||||||
            SimpleDateFormat outputFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 | 
					            SimpleDateFormat outputFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 | 
				
			||||||
 | 
					            Map<String, String> replacements = new HashMap<>();
 | 
				
			||||||
            //装备所属公司
 | 
					            //装备所属公司
 | 
				
			||||||
            replacements.put("${czcompanyName}", orderInfoDto.getCzcompanyName());
 | 
					            replacements.put("${czcompanyName}", orderInfoDto.getCzcompanyName());
 | 
				
			||||||
            //承租方所属公司
 | 
					            //承租方所属公司
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue