|
@ -1338,12 +1338,12 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
|
|
|
jb.put("org_code",orgCode);
|
|
|
jb.put("appr_drug_code", info.get("drug_no") == null? "0": info.get("drug_no"));
|
|
|
jb.put("appr_drug_name", info.get("drug_name") == null? "0": info.get("drug_name"));
|
|
|
jb.put("drug_code", info.get("drug_no") == null? "0": info.get("drug_no"));
|
|
|
jb.put("drug_name", info.get("drug_name") == null? "0": info.get("drug_name"));
|
|
|
jb.put("drug_form", info.get("pack_unit"));
|
|
|
jb.put("drug_code", "");
|
|
|
jb.put("drug_name", "");
|
|
|
jb.put("drug_form", "");
|
|
|
jb.put("approval_no",info.get("serial"));
|
|
|
jb.put("dosage",info.get("dosage") == null? 0: info.get("dosage"));
|
|
|
jb.put("Prescription days",info.get("days").toString());
|
|
|
jb.put("Prescription days",Integer.parseInt(info.get("days").toString()));
|
|
|
jb.put("dosage_unit", info.get("unit") == null? "0": info.get("unit"));
|
|
|
jb.put("total_dosage", info.get("quantity") == null? 0: Integer.parseInt(info.get("quantity").toString()));
|
|
|
jb.put("total_dosage_unit", info.get("pack_unit") == null? "0": info.get("pack_unit"));
|
|
@ -1357,9 +1357,9 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
|
|
|
Double price = pack_retprice.doubleValue()*quantity;
|
|
|
logger.info("price"+decimalFormat.format(price));
|
|
|
jb.put("drug_total_price",Double.parseDouble(decimalFormat.format(price)));
|
|
|
jb.put("comments", info.get("supply_code"));
|
|
|
jb.put("anti_comments", "无");
|
|
|
jb.put("dec_meth_name", "无");
|
|
|
jb.put("comments", "");
|
|
|
jb.put("anti_comments", "");
|
|
|
jb.put("dec_meth_name", "");
|
|
|
}catch (Exception e){
|
|
|
errorFlag = true;
|
|
|
saveErrorLog(upid,"11",(String)info.get("id"),res,1);
|