Commit 67ee6dc7 authored by 廖旭伟's avatar 廖旭伟

测试日志

parent 87daef2f
......@@ -27,6 +27,8 @@ import com.mortals.xhx.common.code.ApiRespCodeEnum;
import com.mortals.xhx.protocol.complex.ComplexApiRest;
import com.mortals.xhx.protocol.complex.matter.model.rsp.*;
import lombok.extern.slf4j.Slf4j;
import org.apache.axis.utils.StringUtils;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.math3.Field;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
......@@ -291,6 +293,11 @@ public class ComplexApiController {
public String acceptHandling(@RequestBody ComplexAcceptReq req) {
log.info("【自助设备接件】【请求体】--> " + JSONObject.toJSONString(req));
req.setUrlPath("self-device-info/acceptHandling");
if(CollectionUtils.isNotEmpty(req.getMaterials())){
if(StringUtils.isEmpty(req.getMaterials().get(0).getMaterialContent())){
log.info("材料附件为空");
}
}
ApiResp<String> rsp = new ApiResp<>();
rsp.setMsg(ApiRespCodeEnum.SUCCESS.getLabel());
rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment