| | |
| | | import com.ltkj.hosp.domain.TjAskHistorys; |
| | | import com.ltkj.hosp.domain.TjCatering; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Update; |
| | | |
| | | /** |
| | | * 问诊Mapper接口 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteTjAskHistorysByAskId(Long askId); |
| | | |
| | | @Update("UPDATE tj_ask_medical_history a SET \n" + |
| | | "\n" + |
| | | "a.tj_num=#{tjNum},\n" + |
| | | "a.update_time=SYSDATE(),\n" + |
| | | "a.update_by=#{userName},\n" + |
| | | "a.update_id=#{userId}\n" + |
| | | |
| | | "WHERE" + |
| | | |
| | | " a.cus_id=#{cusId} \n" + |
| | | "AND ISNULL(a.tj_num)") |
| | | boolean updateTjAskMedicalHistoryByCusId(@Param("tjNum") String tjNum,@Param("userName") String userName,@Param("userId") String userId,@Param("cusId") String cusId); |
| | | } |