| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ltkj.common.utils.DateUtils; |
| | | import com.ltkj.hosp.domain.TjAskWorkLog; |
| | | import com.ltkj.hosp.domain.TjChargingStandard; |
| | | import com.ltkj.hosp.mapper.TjAskWorkLogMapper; |
| | | import com.ltkj.hosp.mapper.TjChargingStandardMapper; |
| | | import com.ltkj.hosp.service.ITjAskWorkLogService; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | | |
| | | import com.ltkj.common.utils.StringUtils; |
| | |
| | | public class TjAskMedicalHistoryServiceImpl extends ServiceImpl<TjAskMedicalHistoryMapper, TjAskMedicalHistory> implements ITjAskMedicalHistoryService { |
| | | @Autowired |
| | | private TjAskMedicalHistoryMapper tjAskMedicalHistoryMapper; |
| | | |
| | | @Autowired |
| | | private TjAskWorkLogMapper tjAskWorkLogMapper; |
| | | |
| | | /** |
| | | * 查询问诊 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增${subTable.functionName}信息 |
| | | * |
| | | * @param tjAskMedicalHistory 问诊对象 |
| | | */ |
| | | public void insertTjAskHistorys(TjAskMedicalHistory tjAskMedicalHistory) { |
| | |
| | | Long askId = tjAskMedicalHistory.getAskId(); |
| | | if (StringUtils.isNotNull(tjAskHistorysList)) { |
| | | List<TjAskHistorys> list = new ArrayList<TjAskHistorys>(); |
| | | for (TjAskHistorys tjAskHistorys :tjAskHistorysList) |
| | | { |
| | | for (TjAskHistorys tjAskHistorys : tjAskHistorysList) { |
| | | tjAskHistorys.setAskId(askId); |
| | | list.add(tjAskHistorys); |
| | | } |
| | |
| | | tjAskMedicalHistoryMapper.batchTjAskHistorys(list); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |