|
@ -283,7 +283,10 @@ public class PrescriptionService extends ZysoftBaseService{
|
|
|
message.put("state",1);
|
|
|
message.put("prescription",prescription.getCode());
|
|
|
message.put("mes","success");
|
|
|
redisTemplate.convertAndSend(channelTopic,message.toString());
|
|
|
// redisTemplate.convertAndSend(channelTopic,message.toString());
|
|
|
redisTemplate.watch(channelTopic);
|
|
|
redisTemplate.opsForList().leftPush(channelTopic,message.toString());
|
|
|
redisTemplate.unwatch();
|
|
|
}
|
|
|
|
|
|
}catch (JSONException ex){
|