You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
632 B
Java
24 lines
632 B
Java
3 years ago
|
package com.engine.organization.wrapper;
|
||
|
|
||
|
import com.engine.core.impl.Service;
|
||
|
import com.engine.organization.entity.po.DemoUser;
|
||
|
import com.engine.organization.util.OrganizationAssert;
|
||
|
import com.engine.organization.util.response.ReturnResult;
|
||
|
|
||
|
/**
|
||
|
* @Author weaver_cl
|
||
|
* @Description: TODO
|
||
|
* @Date 2022/4/26
|
||
|
* @Version V1.0
|
||
|
**/
|
||
|
public class DemoWrapper extends Service {
|
||
|
|
||
|
|
||
|
public ReturnResult testDemo(String name) {
|
||
|
|
||
|
OrganizationAssert.notNull(name,"参数不能为空");
|
||
|
DemoUser demoUser = DemoUser.builder().username("张三").age(12).build();
|
||
|
return ReturnResult.successed(demoUser);
|
||
|
}
|
||
|
}
|