文档
测试

种苗采购→修改

PUT
http://39.98.155.166:8665/ruoyi/material/sprout

请求参数

参数名
类型
描述
必填
sprout
Entity
种苗采购实体类
必填
sproutId
Long
种苗采购id
必填
deptId
Long
公司id
必填
personId
Long
公司负责人id
必填
supplierId
Long
供应商id
必填
sproutName
String
种苗名称
必填
sproutCode
String
种苗编号
必填
sproutType
Long
种苗类型
必填
sproutCategory
Long
种苗品类
必填
sproutBrand
String
采购种苗品牌
必填
sproutModel
String
采购种苗型号
必填
purchaseTime
Date
采购时间
必填
purchaseNumber
Double
采购数量
必填
unitPrice
Double
采购单价
必填
totalPrice
Double
采购总价
必填

响应参数

参数名
类型
描述
必填
code
String
状态码
必填
msg
String
返回内容
必填

说明 / 示例

2020-07-30 1.种苗修改需同时修改采购库存数据,数据与种苗信息一致; 2.种苗编号不能为空否则会导致数据操作失败; 3.不能修改种苗编号;