|
@ -516,7 +516,7 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
|
|
|
|
public JSONObject updateOrderToWaitOut(String orderId,String userId){
|
|
public JSONObject updateOrderToWaitOut(String orderId,String userId){
|
|
JSONObject result = new JSONObject();
|
|
JSONObject result = new JSONObject();
|
|
String sql = " select count(id) from wlyy_hospital_sys_dict where dict_name='updateOrderToWaitOut' " +
|
|
|
|
|
|
/*String sql = " select count(id) from wlyy_hospital_sys_dict where dict_name='updateOrderToWaitOut' " +
|
|
" and dict_code='updateOrderToWaitOut' " +
|
|
" and dict_code='updateOrderToWaitOut' " +
|
|
" and dict_value='"+userId+"' ";
|
|
" and dict_value='"+userId+"' ";
|
|
Integer total = jdbcTemplate.queryForObject(sql,Integer.class);
|
|
Integer total = jdbcTemplate.queryForObject(sql,Integer.class);
|
|
@ -524,7 +524,7 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
|
|
result.put("msg", "当前操作无权限");
|
|
result.put("msg", "当前操作无权限");
|
|
result.put("response", ConstantUtils.FAIL);
|
|
result.put("response", ConstantUtils.FAIL);
|
|
return result;
|
|
return result;
|
|
}
|
|
|
|
|
|
}*/
|
|
if (StringUtils.isEmpty(orderId)) {
|
|
if (StringUtils.isEmpty(orderId)) {
|
|
result.put("msg", "orderId is empty");
|
|
result.put("msg", "orderId is empty");
|
|
result.put("response", ConstantUtils.FAIL);
|
|
result.put("response", ConstantUtils.FAIL);
|