Create mode entity
Add master Jenis Log
This commit is contained in:
parent
1b6c47d809
commit
c111f62966
@ -0,0 +1,14 @@
|
||||
package com.jasamedika.medifirst2000.logging.dao;
|
||||
|
||||
import com.jasamedika.medifirst2000.entities.JenisLog;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 31/01/2024
|
||||
*/
|
||||
public interface JenisLogDao extends JpaRepository<JenisLog, Long> {
|
||||
|
||||
boolean existsByJenisLog(String jenisLog);
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseActive;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 31/01/2024
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "jenis_log_m")
|
||||
public class JenisLog extends BaseActive implements Serializable {
|
||||
private static final long serialVersionUID = -5796583173860610757L;
|
||||
|
||||
@Id
|
||||
@Column(name = "id", columnDefinition = "bigserial")
|
||||
protected Long id;
|
||||
|
||||
@Column(nullable = false)
|
||||
@NotBlank
|
||||
@Caption("Jenis Log")
|
||||
private String jenisLog;
|
||||
}
|
||||
@ -1,125 +1,55 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.hibernate.annotations.GenericGenerator;
|
||||
|
||||
import com.jasamedika.medifirst2000.base.BaseMaster;
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
import static javax.persistence.FetchType.LAZY;
|
||||
import static javax.persistence.GenerationType.SEQUENCE;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "logginguser_t")
|
||||
public class UserLogging extends BaseMaster {
|
||||
private static final long serialVersionUID = -5155757628971170710L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.logginguser_t_id_seq")
|
||||
@javax.persistence.SequenceGenerator(name = "public.logginguser_t_id_seq", sequenceName = "public.logginguser_t_id_seq", allocationSize = 1)
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "public.logginguser_t_id_seq")
|
||||
@SequenceGenerator(name = "public.logginguser_t_id_seq", sequenceName = "public.logginguser_t_id_seq", allocationSize = 1)
|
||||
@Column(name = "id")
|
||||
protected Integer id;
|
||||
|
||||
@Column(name = "tanggal", nullable = true)
|
||||
@Column(name = "tanggal")
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
@Caption(value = "Tanggal")
|
||||
private Date tanggal;
|
||||
|
||||
@ManyToOne
|
||||
@ManyToOne(fetch = LAZY)
|
||||
@JoinColumn(name = "objectloginuserfk")
|
||||
@Caption(value = "User Login")
|
||||
private LoginUser loginUser;
|
||||
|
||||
@Column(name = "objectloginuserfk", insertable = false, updatable = false, nullable = true)
|
||||
@Column(name = "objectloginuserfk", insertable = false, updatable = false)
|
||||
private Integer loginUserId;
|
||||
|
||||
@Column(name = "jenislog", nullable = true, length = 500)
|
||||
@Column(name = "jenislog", length = 500)
|
||||
@Caption(value = "Jenis Log")
|
||||
private String jenisLog;
|
||||
|
||||
@Column(name = "noreff", nullable = true, columnDefinition = "CHAR(32)")
|
||||
@Column(name = "noreff", columnDefinition = "CHAR(32)")
|
||||
@Caption(value = "No Referensi")
|
||||
private String noReff;
|
||||
|
||||
@Column(name = "referensi", nullable = true, length = 100)
|
||||
@Column(name = "referensi", length = 100)
|
||||
@Caption(value = "Referensi")
|
||||
private String referensi;
|
||||
|
||||
@Column(name = "keterangan", nullable = true, length = 200)
|
||||
@Column(name = "keterangan", length = 200)
|
||||
@Caption(value = "Keterangan")
|
||||
private String keterangan;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Date getTanggal() {
|
||||
return tanggal;
|
||||
}
|
||||
|
||||
public void setTanggal(Date tanggal) {
|
||||
this.tanggal = tanggal;
|
||||
}
|
||||
|
||||
public LoginUser getLoginUser() {
|
||||
return loginUser;
|
||||
}
|
||||
|
||||
public void setLoginUser(LoginUser loginUser) {
|
||||
this.loginUser = loginUser;
|
||||
}
|
||||
|
||||
public Integer getLoginUserId() {
|
||||
return loginUserId;
|
||||
}
|
||||
|
||||
public void setLoginUserId(Integer loginUserId) {
|
||||
this.loginUserId = loginUserId;
|
||||
}
|
||||
|
||||
public String getJenisLog() {
|
||||
return jenisLog;
|
||||
}
|
||||
|
||||
public void setJenisLog(String jenisLog) {
|
||||
this.jenisLog = jenisLog;
|
||||
}
|
||||
|
||||
public String getNoReff() {
|
||||
return noReff;
|
||||
}
|
||||
|
||||
public void setNoReff(String noReff) {
|
||||
this.noReff = noReff;
|
||||
}
|
||||
|
||||
public String getReferensi() {
|
||||
return referensi;
|
||||
}
|
||||
|
||||
public void setReferensi(String referensi) {
|
||||
this.referensi = referensi;
|
||||
}
|
||||
|
||||
public String getKeterangan() {
|
||||
return keterangan;
|
||||
}
|
||||
|
||||
public void setKeterangan(String keterangan) {
|
||||
this.keterangan = keterangan;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,21 @@
|
||||
package com.jasamedika.medifirst2000.vo;
|
||||
|
||||
import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 31/01/2024
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class JenisLogVO {
|
||||
protected Long id;
|
||||
|
||||
@NotBlank
|
||||
@Caption("Jenis Log")
|
||||
private String jenisLog;
|
||||
}
|
||||
@ -0,0 +1,473 @@
|
||||
package com.jasamedika.medifirst2000.entities;
|
||||
|
||||
import com.jasamedika.medifirst2000.logging.dao.JenisLogDao;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
* @since 31/01/2024
|
||||
*/
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration("classpath*:com/jasamedika/**/applicationContext.xml")
|
||||
public class JenisLogTests {
|
||||
private final Logger LOGGER = LoggerFactory.getLogger(JenisLogTests.class);
|
||||
|
||||
@Autowired
|
||||
private JenisLogDao jenisLogDao;
|
||||
|
||||
@Test
|
||||
@Transactional
|
||||
public void initJenisLog() {
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Bayar")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Bayar");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Input Master Barang Produksi")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Input Master Barang Produksi");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Input Pengajuan Pelatihan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Input Pengajuan Pelatihan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Keluhan Pelanggan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Keluhan Pelanggan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Kirim")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Kirim");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Penanganan Keluhan Pelanggan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Penanganan Keluhan Pelanggan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Penelitian Kegiatan Eksternal")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Penelitian Kegiatan Eksternal");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Penelitian Kegiatan Pegawai")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Penelitian Kegiatan Pegawai");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Rawat Inap")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Rawat Inap");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Batal Usulan Permintaan Barang")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Batal Usulan Permintaan Barang");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("CPPT")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("CPPT");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Diagnosis")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Diagnosis");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Diskon Layanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Diskon Layanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Edit Registrasi")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Edit Registrasi");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Hapus ChartOfAccout")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Hapus ChartOfAccout");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Hapus Konsul")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Hapus Konsul");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Hapus Layanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Hapus Layanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Hapus Layanan Tidak Terklaim")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Hapus Layanan Tidak Terklaim");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Hapus Registrasi")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Hapus Registrasi");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Hapus Resep Apotik")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Hapus Resep Apotik");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Input Barang Kadaluarsa")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Input Barang Kadaluarsa");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Input Resep Apotik")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Input Resep Apotik");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Input SEP")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Input SEP");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Input Tindakan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Input Tindakan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Input/Ubah Petugas Layanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Input/Ubah Petugas Layanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Keluhan Pelanggan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Keluhan Pelanggan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Klaim Tindakan Tidak Terklaim")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Klaim Tindakan Tidak Terklaim");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Konsul Ruangan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Konsul Ruangan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Konsultasi")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Konsultasi");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Login User")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Login User");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Order Jadwal Bedah")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Order Jadwal Bedah");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Order Laboratorium")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Order Laboratorium");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Order Radiologi")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Order Radiologi");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Order Resep")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Order Resep");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Pasien Pindah")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Pasien Pindah");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Pasien Pulang")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Pasien Pulang");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Pendaftaran Pasien")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Pendaftaran Pasien");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Pengkajian Awal")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Pengkajian Awal");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Pengkajian Keperawatan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Pengkajian Keperawatan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Resume Medis")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Resume Medis");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Retur Resep Apotik")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Retur Resep Apotik");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Save SPPB Struk Order")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Save SPPB Struk Order");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Simpan EMR ICU")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Simpan EMR ICU");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Simpan Penelitian Kegiatan Eksternal")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Simpan Penelitian Kegiatan Eksternal");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Simpan Penelitian Kegiatan Pegawai")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Simpan Penelitian Kegiatan Pegawai");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Simpan Struk Pelayanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Simpan Struk Pelayanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Status Kehadiran Peserta Pelatihan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Status Kehadiran Peserta Pelatihan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Stok Opname")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Stok Opname");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Summary List")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Summary List");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Tambah Produk")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Tambah Produk");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Ubah Penelitian Kegiatan Eksternal")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Ubah Penelitian Kegiatan Eksternal");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Ubah Penelitian Kegiatan Pegawai")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Ubah Penelitian Kegiatan Pegawai");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Ubah Produk")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Ubah Produk");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Ubah Rekanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Ubah Rekanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Ubah Tgl Detail Registrasi")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Ubah Tgl Detail Registrasi");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Ubah Tgl Pelayanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Ubah Tgl Pelayanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Unverifikasi Pengajuan Pelatihan Bag SDM")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Unverifikasi Pengajuan Pelatihan Bag SDM");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Unverifikasi TataRekening")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Unverifikasi TataRekening");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Update NoStruk Terima Barang")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Update NoStruk Terima Barang");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Update Struk Pelayanan")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Update Struk Pelayanan");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Verifikasi Order Laboratorium")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Verifikasi Order Laboratorium");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Verifikasi Pengajuan Pelatihan Bag SDM")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Verifikasi Pengajuan Pelatihan Bag SDM");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
if (!jenisLogDao.existsByJenisLog("Verifikasi TataRekening")) {
|
||||
JenisLog jenisLog = new JenisLog();
|
||||
jenisLog.setJenisLog("Verifikasi TataRekening");
|
||||
jenisLog.setStatusEnabled(true);
|
||||
jenisLog.setKdProfile((short) 0);
|
||||
jenisLogDao.save(jenisLog);
|
||||
}
|
||||
|
||||
LOGGER.info("Initiate jenis log data...!");
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user