|
@@ -9,6 +9,7 @@ import com.jeeplus.sys.utils.StringUtils;
|
|
import com.jeeplus.test.help.service.dto.HelpDTO;
|
|
import com.jeeplus.test.help.service.dto.HelpDTO;
|
|
import com.jeeplus.test.materialManagement.purchase.service.MaterialService;
|
|
import com.jeeplus.test.materialManagement.purchase.service.MaterialService;
|
|
import com.jeeplus.test.materialManagement.purchase.service.dto.MaterialInfoDto;
|
|
import com.jeeplus.test.materialManagement.purchase.service.dto.MaterialInfoDto;
|
|
|
|
+import com.jeeplus.test.materialManagement.wareHouse.domain.WareHouseDetailed;
|
|
import com.jeeplus.test.materialManagement.wareHouse.domain.WarehouseUpHi;
|
|
import com.jeeplus.test.materialManagement.wareHouse.domain.WarehouseUpHi;
|
|
import com.jeeplus.test.materialManagement.wareHouse.service.WareHouseBasicService;
|
|
import com.jeeplus.test.materialManagement.wareHouse.service.WareHouseBasicService;
|
|
import com.jeeplus.test.materialManagement.wareHouse.service.dto.WareHouseDto;
|
|
import com.jeeplus.test.materialManagement.wareHouse.service.dto.WareHouseDto;
|
|
@@ -261,4 +262,16 @@ public class WareHouseController {
|
|
return ResponseEntity.ok("修改成功");
|
|
return ResponseEntity.ok("修改成功");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 根据入库类型查询商品
|
|
|
|
+ * @param typeId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation(value = "根据入库类型查询商品")
|
|
|
|
+ @GetMapping("/findTradeByTypeId")
|
|
|
|
+ public ResponseEntity findTradeByTypeId(@RequestParam String typeId) {
|
|
|
|
+ List<WareHouseDetailed> res = basicService.findTradeByTypeId(typeId);
|
|
|
|
+ return ResponseEntity.ok(res);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|