Commit 5e5cbe9e by xugaojun

【3.0】11-1迭代:去掉不支持代码

parent 742c9195
...@@ -11,7 +11,6 @@ import com.gic.haoban.manage.web.auth.AuthRequestUtil; ...@@ -11,7 +11,6 @@ import com.gic.haoban.manage.web.auth.AuthRequestUtil;
import com.gic.haoban.manage.web.errCode.HaoBanErrCode; import com.gic.haoban.manage.web.errCode.HaoBanErrCode;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -144,7 +143,7 @@ public class MaterialController extends WebBaseController { ...@@ -144,7 +143,7 @@ public class MaterialController extends WebBaseController {
* @return res * @return res
*/ */
@RequestMapping("/material-batch-add") @RequestMapping("/material-batch-add")
public HaobanResponse batchAddMaterial(@RequestBody BatchAddMaterialDTO dto) { public HaobanResponse batchAddMaterial(BatchAddMaterialDTO dto) {
if (Objects.isNull(dto) || Objects.isNull(dto.getMaterial())) { if (Objects.isNull(dto) || Objects.isNull(dto.getMaterial())) {
return resultResponse(HaoBanErrCode.ERR_2); return resultResponse(HaoBanErrCode.ERR_2);
} }
......
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