|
|
|
@ -23,7 +23,7 @@ import java.util.List;
|
|
|
|
|
* 掌门数据临时处理类 extends OpenapiApplicationTest
|
|
|
|
|
*/
|
|
|
|
|
@Slf4j
|
|
|
|
|
public class ZMSortTest extends OpenapiApplicationTest{
|
|
|
|
|
public class ZMSortTest extends OpenapiApplicationTest{
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
@Qualifier("ABClientServiceProxy")
|
|
|
|
@ -52,8 +52,9 @@ public class ZMSortTest extends OpenapiApplicationTest{
|
|
|
|
|
&& StringUtils.isNotBlank(abzmMessageDTO.getData().getGrade())
|
|
|
|
|
&& StringUtils.isNotBlank(abzmMessageDTO.getData().getCourse())
|
|
|
|
|
){
|
|
|
|
|
// System.out.println(abzmMessageDTO);
|
|
|
|
|
System.out.println("abzmMessageDTO" + abzmMessageDTO);
|
|
|
|
|
boolean insert = abClientService.recordZMClientMsg(abzmMessageDTO);
|
|
|
|
|
System.out.println("insert " + insert);
|
|
|
|
|
if (insert){
|
|
|
|
|
log.info("success");
|
|
|
|
|
}else {
|
|
|
|
@ -73,7 +74,7 @@ public class ZMSortTest extends OpenapiApplicationTest{
|
|
|
|
|
list.forEach(
|
|
|
|
|
each->{
|
|
|
|
|
if (StringUtils.isNotBlank(each.trim())){
|
|
|
|
|
result.add(each.trim()+ "}");
|
|
|
|
|
result.add(StringUtils.substring(each.trim(),0,each.trim().length()-1));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|