|
@ -784,6 +784,8 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
" t.price AS price,\n" +
|
|
|
" t.specif AS specif,\n" +
|
|
|
" t.unit AS unit,\n" +
|
|
|
" t.quantity_unit AS quantityUnit,\n" +
|
|
|
" t.pack_unit AS packUnit,\n" +
|
|
|
" t.org_code AS orgCode,\n" +
|
|
|
" t.org_name AS orgName,\n" +
|
|
|
" t.equ_name AS equName,\n" +
|
|
@ -1771,6 +1773,8 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
"\tt.price AS price,\n" +
|
|
|
"\tt.specif AS specif,\n" +
|
|
|
"\tt.unit AS unit,\n" +
|
|
|
"\tt.quantity_unit AS quantityUnit,\n" +
|
|
|
"\tt.pack_unit AS packUnit,\n" +
|
|
|
"\tt.org_code AS orgCode,\n" +
|
|
|
"\tt.org_name AS orgName,\n" +
|
|
|
" t.equ_name AS equName,\n" +
|
|
@ -2211,6 +2215,8 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
"\tt.price AS price,\n" +
|
|
|
"\tt.specif AS specif,\n" +
|
|
|
"\tt.unit AS unit,\n" +
|
|
|
"\tt.quantity_unit AS quantityUnit,\n" +
|
|
|
"\tt.pack_unit AS packUnit,\n" +
|
|
|
"\tt.org_code AS orgCode,\n" +
|
|
|
"\tt.org_name AS orgName,\n" +
|
|
|
" t.equ_name AS equName,\n" +
|
|
@ -2363,6 +2369,12 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
shipmentLog.setPrice(mediicinedrugs.getPrice());
|
|
|
shipmentLog.setSpecif(mediicinedrugs.getSpecif());
|
|
|
shipmentLog.setUnit(mediicinedrugs.getUnit());
|
|
|
String drugSql = " select quantity_unit,pack_unit from t_mediicine_drugs where org_code='"+mediicinedrugs.getOrgCode()+"' and drug_code='"+mediicinedrugs.getDrugCode()+"' ";
|
|
|
List<Map<String,Object>> drugTmps = jdbcTemplate.queryForList(drugSql);
|
|
|
if (drugTmps.size()>0){
|
|
|
shipmentLog.setPackUnit(drugTmps.get(0).get("pack_unit")==null?"":drugTmps.get(0).get("pack_unit").toString());
|
|
|
shipmentLog.setQuantityUnit(drugTmps.get(0).get("quantity_unit")==null?"":drugTmps.get(0).get("quantity_unit").toString());
|
|
|
}
|
|
|
shipmentLog.setEquName(mediicinedevice.getEquName());
|
|
|
shipmentLog.setEquNum(mediicinedevice.getEquNum());
|
|
|
shipmentLog.setDosForm(mediicinedrugs.getDosForm());
|