»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

Äõ¸® Áú¹® µå·Á¿ä~2

  • À°±ºº´Àå´Ô
  • µî·ÏÀÏ 2015-06-24 11:47
  • Á¶È¸¼ö 320
if(d.getEmp_job().equals("¸Å´ÏÀú")){
                                try{
                                  //Áú¹®ºÎºÐ
                                        String sql = "insert into manager(emp_id,loc_id,mng_rank) values (?,
                                //Áú¹®ºÎºÐ        
                                        pst = conn.prepareStatement(sql);
                                        r = pst.executeUpdate();
                                        
                                }catch(Exception ex){
                                        ex.printStackTrace();
                                }
                        }

employeeÅ×ÀÌºí¿¡ÀÖ´Â emp_job °ªÀÌ ¸Å´ÏÀú¸é manager Å×ÀÌºí¿¡ µ¥ÀÌÅ͸¦ Àμ­Æ® ½ÃÅ°·Á°í ÇÕ´Ï´Ù.

loc_id °ªÀº su_1 , su_2, su_3, su_4, gk_1, gk_2, gk_3, gl_4 ¶ó´Â  µ¥ÀÌÅÍ°ªÀ» ·£´ýÀ¸·Î ³ÖÀ¸·Á°í ÇÕ´Ï´Ù.
mng_rank ¿¡´Â Á¤,ºÎ,¿¹ºñ °¡Àִµ¥ Á¤À̾øÀ¸¸é ºÎ°¡ Á¤ÀÌµÇ°í ºÎ°¡¾øÀ¸¸é ¿¹ºñ°¡ ºÎ·Î ÀÚµ¿À¸·Î ¹Ù²î°Ô ÇÏ·Á°í ÇÕ´Ï´Ù.
°í¼ö´Ôµé ¼ÒÁßÇѴ亯 ºÎŹµå¸®°Ú½À´Ï´Ù.

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 ¿ï»êºý±¸

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 ´º·»
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û ¸ñ·Ïº¸±â