test_class.file: service/settlement-service/src/test/java/com/meiduimall/service/settlement/api/OrderControllerTest.java
test_class.identifier: OrderControllerTest
test_class.superclass: extends BaseTest
test_case.body: @Test
  	public void testSyncVerifyStatus() throws Exception {
  		ResultActions results = mockMvc
  				.perform(MockMvcRequestBuilders.post("/settlementservice/orderservice/v1/syncverifystatus")
  						.param("orderSn", "D4405110000011704060002").param("verifyStatus", "1")
  						.param("verifyTime", "1484192393").param("verifyName", "admin"))
  				.andExpect(status().isOk());
  		
  		results.andDo(new ResultHandler() {
  			@Override
  			public void handle(MvcResult result) throws Exception {
  				System.out.println("*********"+result.getResponse().getContentAsString());
  			}
  		});
  	}
test_case.class_method_signature: OrderControllerTest.testSyncVerifyStatus()
test_case.full_signature: @Test public void testSyncVerifyStatus()
test_case.identifier: testSyncVerifyStatus
test_case.invocations: andExpect perform param param param param post isOk status andDo println getContentAsString getResponse
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSyncVerifyStatus()
focal_class.declarator: log = LoggerFactory.getLogger(OrderController.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(OrderController.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: orderService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private OrderService orderService;
focal_class.type: OrderService
focal_class.var_name: orderService
focal_class.declarator: asyncTaskService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private AsyncTaskService asyncTaskService;
focal_class.type: AsyncTaskService
focal_class.var_name: asyncTaskService
focal_class.file: service/settlement-service/src/main/java/com/meiduimall/service/settlement/api/OrderController.java
focal_class.identifier: OrderController
focal_class.class_method_signature: OrderController.shareProfit(@Validated EcmOrder ecmOrder)
focal_class.full_signature: @PostMapping("/shareprofit") public ResBodyData shareProfit(@Validated EcmOrder ecmOrder)
focal_class.identifier: shareProfit
focal_class.modifiers: @PostMapping("/shareprofit") public
focal_class.parameters: (@Validated EcmOrder ecmOrder)
focal_class.return: ResBodyData
focal_class.signature: ResBodyData shareProfit(@Validated EcmOrder ecmOrder)
focal_class.class_method_signature: OrderController.queryOrderStatus(String[] orderSns)
focal_class.full_signature: @PostMapping(value="/queryorderstatus") public ResBodyData queryOrderStatus(String[] orderSns)
focal_class.identifier: queryOrderStatus
focal_class.modifiers: @PostMapping(value="/queryorderstatus") public
focal_class.parameters: (String[] orderSns)
focal_class.return: ResBodyData
focal_class.signature: ResBodyData queryOrderStatus(String[] orderSns)
focal_class.class_method_signature: OrderController.syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus)
focal_class.full_signature: @PostMapping(value="/syncverifystatus") public ResBodyData syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus)
focal_class.identifier: syncVerifyStatus
focal_class.modifiers: @PostMapping(value="/syncverifystatus") public
focal_class.parameters: (@Validated EcmMzfOrderStatus orderStatus)
focal_class.return: ResBodyData
focal_class.signature: ResBodyData syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus)
focal_class.class_method_signature: OrderController.queryShareProfit(String[] orderSns)
focal_class.full_signature: @PostMapping("/queryshareprofit") public ResBodyData queryShareProfit(String[] orderSns)
focal_class.identifier: queryShareProfit
focal_class.modifiers: @PostMapping("/queryshareprofit") public
focal_class.parameters: (String[] orderSns)
focal_class.return: ResBodyData
focal_class.signature: ResBodyData queryShareProfit(String[] orderSns)
focal_class.class_method_signature: OrderController.queryProfitByRole(String code,Integer accountRoleType)
focal_class.full_signature: @PostMapping("/queryprofitbyrole") public ResBodyData queryProfitByRole(String code,Integer accountRoleType)
focal_class.identifier: queryProfitByRole
focal_class.modifiers: @PostMapping("/queryprofitbyrole") public
focal_class.parameters: (String code,Integer accountRoleType)
focal_class.return: ResBodyData
focal_class.signature: ResBodyData queryProfitByRole(String code,Integer accountRoleType)
focal_class.class_method_signature: OrderController.queryTotalProfit(String[] codes,Integer billStartDate,Integer billEndDate)
focal_class.full_signature: @PostMapping("/querytotalprofit") public ResBodyData queryTotalProfit(String[] codes,Integer billStartDate,Integer billEndDate)
focal_class.identifier: queryTotalProfit
focal_class.modifiers: @PostMapping("/querytotalprofit") public
focal_class.parameters: (String[] codes,Integer billStartDate,Integer billEndDate)
focal_class.return: ResBodyData
focal_class.signature: ResBodyData queryTotalProfit(String[] codes,Integer billStartDate,Integer billEndDate)
focal_method.body: @PostMapping(value="/syncverifystatus")
  	public ResBodyData syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus) {
  		log.info("syncVerifyStatus() in the OrderController start--");
  		
  		int statusCode=ShareProfitConstants.RESPONSE_STATUS_CODE_SUCCESS;
  
  		boolean isSuccess=true;
  		String msg="同步订单审核状态数据到结算系统成功!";
  		try {
  			isSuccess = orderService.syncVerifyStatus(orderStatus);
  		} catch (Exception e) {
  			isSuccess=false;
  			log.error("同步订单审核状态接口 出错，orderService.syncVerifyStatus() for orderSn:{} got error:{}",orderStatus.getOrderSn(),e.getMessage(),e);
  		}
  		
  		if(!isSuccess){
  			msg="同步订单审核状态数据到结算系统失败!";
  			statusCode=ShareProfitConstants.RESPONSE_STATUS_CODE_FAILURE;
  			log.info(msg);
  		}
  			
  		return SettlementUtil.buildReponseData("", statusCode, msg);
  		
  	}
focal_method.class_method_signature: OrderController.syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus)
focal_method.full_signature: @PostMapping(value="/syncverifystatus") public ResBodyData syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus)
focal_method.identifier: syncVerifyStatus
focal_method.invocations: info syncVerifyStatus error ),e); info buildReponseData
focal_method.modifiers: @PostMapping(value="/syncverifystatus") public
focal_method.parameters: (@Validated EcmMzfOrderStatus orderStatus)
focal_method.return: ResBodyData
focal_method.signature: ResBodyData syncVerifyStatus(@Validated EcmMzfOrderStatus orderStatus)