李旭东
2023-11-24 7e603bde766e5f4fc7f95c785b1083c42f61955e
hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/controller/WeighController.java
@@ -6,11 +6,14 @@
import com.thhy.materials.modules.biz.weigh.dto.QueryWeighDto;
import com.thhy.materials.modules.biz.weigh.entity.WeighVo;
import com.thhy.materials.modules.biz.weigh.service.WeighService;
import org.omg.CORBA.StringHolder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
/**
 * @Author QiuYuHao
@@ -31,4 +34,12 @@
      PageInfo<WeighVo> weighVoPageInfo = new PageInfo<>(weighService.findAll(queryWeighDto));
      return BasicResult.success(weighVoPageInfo);
   }
   @PostMapping("/weighbridgeList")
   public BasicResult weighbridgeList(@RequestBody Map<String,Object> values){
      return weighService.weighbridgeList(values);
   }
}