|
|
@ -356,7 +356,7 @@ class BllMedicament(Repository):
|
|
|
|
price=entityDrug.price,
|
|
|
|
price=entityDrug.price,
|
|
|
|
record_type=DrugRecordType.Use,
|
|
|
|
record_type=DrugRecordType.Use,
|
|
|
|
is_empty=0,
|
|
|
|
is_empty=0,
|
|
|
|
record_remain=float(entityDrug.remain),
|
|
|
|
record_remain=float(entityDrug.remain) if entityDrug.remain else 0,
|
|
|
|
create_date=Utils.get_str_datetime(),
|
|
|
|
create_date=Utils.get_str_datetime(),
|
|
|
|
create_user_id=entityUser.user_id,
|
|
|
|
create_user_id=entityUser.user_id,
|
|
|
|
create_user_name=entityUser.real_name,
|
|
|
|
create_user_name=entityUser.real_name,
|
|
|
|