Java SQL Date getInsertarEntrada()

Here you can find the source of getInsertarEntrada()

Description

get Insertar Entrada

License

Open Source License

Declaration

public static String getInsertarEntrada() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.sql.Date;

public class Main {
    public static String getInsertarEntrada(Integer id_empleado, Integer cons, Date hora_entrada, Date hora_salida,
            Date fecha, Integer idEmpresa) {
        return "INSERT INTO tblentrada_salida( id_empleado, cons, hora_entrada, hora_salida, fecha, id_empresa) values ("
                + id_empleado + "," + cons + "," + hora_entrada + "," + hora_salida + "," + fecha + "," + idEmpresa
                + ")";
    }//from   w w  w . j a v a 2 s  .c o  m

    public static String getInsertarEntrada() {
        return "INSERT INTO tblentrada_salida( id_empleado, cons, hora_entrada, hora_salida, fecha, id_empresa) values (?,?,?,?,?,?)";
    }
}

Related

  1. getEndWeekDayOfMonth(String year, String month)
  2. getFileName()
  3. getFirstDayOfNextMonth()
  4. getFirstDayOfThisMonth()
  5. getInsertarEmpleado()
  6. getIntervalDays(String sd, String ed)
  7. getLastDay()
  8. getMonthInt(String month)
  9. getNextDayStr(String curday)