|
@@ -287,7 +287,7 @@ class WasteRecord extends Base
|
|
|
'user_id' => input('uid/d',0),
|
|
|
'waste_device_id' => input('wasteDeviceId/d',0),
|
|
|
'cateid' =>input('cateid/d',0),
|
|
|
- 'weight' => input('weight'),
|
|
|
+ 'weight' => (input('weight')) * 1000,
|
|
|
'create_time' => input('createTime'),
|
|
|
'status' => 0,
|
|
|
'is_print' => 0,
|