|
@ -1502,7 +1502,7 @@ public class MedicinedeviceService extends BaseJpaService<Mediicinedevice, Medi
|
|
|
"FROM\n" +
|
|
|
"\tt_mediicinecabinet_inventory t\n" +
|
|
|
"WHERE\n" +
|
|
|
"\tt.id_device = '" + stringObjectMap.get("equNum") +"'\n" +
|
|
|
"\tconcat(t.id_device, t.equ_num) like '%" + stringObjectMap.get("equNum") +"%'\n" +
|
|
|
"AND t.shelf_status = 1";
|
|
|
//库存
|
|
|
Integer qty = jdbcTemplate.queryForObject( tempSql, Integer.class);
|
|
@ -1513,7 +1513,7 @@ public class MedicinedeviceService extends BaseJpaService<Mediicinedevice, Medi
|
|
|
"FROM\n" +
|
|
|
"\tt_mediicinecabinet_inventory t\n" +
|
|
|
"WHERE\n" +
|
|
|
"\tt.id_device = ''\n" +
|
|
|
"\tconcat(t.id_device, t.equ_num) like '%" + stringObjectMap.get("equNum") +"%'\n" +
|
|
|
"AND t.shelf_status = 0";
|
|
|
stringObjectMap.put("xiajiaQty", jdbcTemplate.queryForObject( tempSql, Integer.class));
|
|
|
Date buhuoDate = jdbcTemplate.queryForObject( "SELECT\n" +
|