Merge remote-tracking branch 'origin/dev' into dev
| | |
| | | import org.springframework.amqp.rabbit.annotation.RabbitListener; |
| | | import org.springframework.amqp.rabbit.core.RabbitTemplate; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | private RabbitTemplate rabbitTemplate; |
| | | |
| | | private static final Logger logger = LoggerFactory.getLogger(ConsumptionRecordServiceImpl.class); |
| | | |
| | | @Value("${spring.profiles.active}") |
| | | private String envName; |
| | | /** |
| | | * 列表 |
| | | * |
| | |
| | | "\",\"departmentId\":\"" + consumptionRequest.getDepartmentId() + |
| | | "\",\"doctorId\":\"" + consumptionRequest.getDoctorId() + |
| | | "\",\"date\":\"" + DateUtils.formatDate(new Date(),"yyyy-MM-dd")+"\"}"; |
| | | rabbitTemplate.convertAndSend(ConsumptionConstant.EXCHANGE_DATA, ConsumptionConstant.ROUTINGKEY_DATA, context); |
| | | rabbitTemplate.convertAndSend(ConsumptionConstant.EXCHANGE_DATA, ConsumptionConstant.ROUTINGKEY_DATA+envName, context); |
| | | } |
| | | } |
| | |
| | | WHERE |
| | | is_del = 0 |
| | | AND enabled = 1 |
| | | <if test="p.templeteType!=null and p.templeteType!=''"> |
| | | AND templete_type = #{p.templeteType} |
| | | </if> |
| | | AND(( |
| | | hospital_id IS NULL |
| | | AND hospital_id IS NULL |
| | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.kidgrow.common.constant.CommonConstant; |
| | | import com.kidgrow.common.constant.DictionariesConstants; |
| | |
| | | Map<String, Object> selectMap = new HashMap<>(); |
| | | selectMap.put("mobile", phone); |
| | | selectMap.put("is_del", 0); |
| | | selectMap.put("tenant_id", "hospital"); |
| | | List<SysUser> sysUsers = baseMapper.selectByMap(selectMap); |
| | | return (sysUsers.size() > 0); |
| | | } |
| | |
| | | |
| | | //MQ相关 |
| | | String EXCHANGE_DATA="BICenter"; |
| | | String ROUTINGKEY_DATA="Kidgrow2033"; |
| | | String ROUTINGKEY_DATA="Kidgrow2033_"; |
| | | } |
| | |
| | | - /*/oauth/** |
| | | - /actuator/health |
| | | - /actuator/info |
| | | - /api-sms/smsChangLan/send |
| | | - /api-file/smsChangLan/send |
| | | - /api-user/users/doctorUserReg |
| | | - /api-user/users/isRegUser |
| | | - /api-user/users/passwordByPhone |
| | |
| | | /api-user/users-anon/**, |
| | | /login.html, |
| | | /user/login, |
| | | /api-sms/smsChangLan/send, |
| | | /api-file/smsChangLan/send, |
| | | /api-user/users/doctorUserReg, |
| | | /api-file/files-upload, |
| | | /api-user/users/isRegUser, |
| | |
| | | } |
| | | var proName = $('#product-search-value').val(); |
| | | var hospitalId = $('#hospitalId').val(); |
| | | table.reload('product-table', { where: { proName: proName,hospitalId: hospitalId,departmentId:'1252408277275664385',startTime: startTime, endTime: endTime } }); |
| | | table.reload('product-table', { where: { proName: proName,hospitalId: hospitalId,startTime: startTime, endTime: endTime } }); |
| | | }); |
| | | |
| | | //比较日期大小 |