|  | @@ -11,12 +11,12 @@ public interface WindowsMapper {
 | 
	
		
			
				|  |  |       * @return
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Insert("INSERT INTO t_windows(dept_no,windows_no,print_index,zy_print_index,cg_print_index,user_id_code,ip_address, " +
 | 
	
		
			
				|  |  | -            "create_date,update_date,client_ip_address,mis_pos_router_code,normal_wrist_strap_print_index,child_wrist_strap_print_index) " +
 | 
	
		
			
				|  |  | +            "create_date,update_date,client_ip_address,mis_pos_router_code,normal_wrist_strap_print_index,child_wrist_strap_print_index,zy_yjj_print_index) " +
 | 
	
		
			
				|  |  |              "VALUES " +
 | 
	
		
			
				|  |  |              "(#{deptNo,jdbcType=VARCHAR},#{windowsNo,jdbcType=INTEGER},#{printIndex,jdbcType=INTEGER},#{zyPrintIndex,jdbcType=INTEGER}," +
 | 
	
		
			
				|  |  |              "#{cgPrintIndex,jdbcType=INTEGER},#{userIdCode,jdbcType=VARCHAR},#{ipAddress,jdbcType=VARCHAR}, " +
 | 
	
		
			
				|  |  |              "#{createDate,jdbcType=TIMESTAMP}, #{updateDate,jdbcType=TIMESTAMP},#{clientIpAddress,jdbcType=VARCHAR}," +
 | 
	
		
			
				|  |  | -            "#{misPosRouterCode,jdbcType=VARCHAR},#{normalWristStrapPrintIndex,jdbcType=INTEGER},#{childWristStrapPrintIndex,jdbcType=INTEGER})")
 | 
	
		
			
				|  |  | +            "#{misPosRouterCode,jdbcType=VARCHAR},#{normalWristStrapPrintIndex,jdbcType=INTEGER},#{childWristStrapPrintIndex,jdbcType=INTEGER},#{zyYjjPrintIndex,jdbcType=INTEGER})")
 | 
	
		
			
				|  |  |      @Options(useGeneratedKeys = true, keyProperty = "id", keyColumn = "id")
 | 
	
		
			
				|  |  |      int insertUser(Windows windows);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -28,7 +28,7 @@ public interface WindowsMapper {
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Select({"<script>",
 | 
	
		
			
				|  |  |              "select top 1 id,dept_no,windows_no,print_index,zy_print_index,cg_print_index,user_id_code,ip_address,create_date,update_date," +
 | 
	
		
			
				|  |  | -            "client_ip_address,mis_pos_router_code,normal_wrist_strap_print_index,child_wrist_strap_print_index " +
 | 
	
		
			
				|  |  | +            "client_ip_address,mis_pos_router_code,normal_wrist_strap_print_index,child_wrist_strap_print_index,zy_yjj_print_index " +
 | 
	
		
			
				|  |  |              "from t_windows where user_id_code= #{userIdCode,jdbcType=VARCHAR} " +
 | 
	
		
			
				|  |  |              "order by create_date desc ",
 | 
	
		
			
				|  |  |              "</script>"})
 | 
	
	
		
			
				|  | @@ -43,7 +43,7 @@ public interface WindowsMapper {
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Select({"<script>",
 | 
	
		
			
				|  |  |              "select top 1 id,dept_no,windows_no,print_index,zy_print_index,cg_print_index,user_id_code,ip_address, create_date," +
 | 
	
		
			
				|  |  | -            "update_date,client_ip_address,mis_pos_router_code,normal_wrist_strap_print_index,child_wrist_strap_print_index " +
 | 
	
		
			
				|  |  | +            "update_date,client_ip_address,mis_pos_router_code,normal_wrist_strap_print_index,child_wrist_strap_print_index,zy_yjj_print_index " +
 | 
	
		
			
				|  |  |              "from t_windows where ip_address= #{ipAddress,jdbcType=VARCHAR} " +
 | 
	
		
			
				|  |  |              "order by create_date desc ",
 | 
	
		
			
				|  |  |              "</script>"})
 | 
	
	
		
			
				|  | @@ -79,6 +79,9 @@ public interface WindowsMapper {
 | 
	
		
			
				|  |  |              "<when test='childWristStrapPrintIndex!=null'>",
 | 
	
		
			
				|  |  |              ",child_wrist_strap_print_index=#{childWristStrapPrintIndex,jdbcType=INTEGER}",
 | 
	
		
			
				|  |  |              "</when>",
 | 
	
		
			
				|  |  | +            "<when test='zyYjjPrintIndex!=null'>",
 | 
	
		
			
				|  |  | +            ",zy_yjj_print_index=#{zyYjjPrintIndex,jdbcType=INTEGER}",
 | 
	
		
			
				|  |  | +            "</when>",
 | 
	
		
			
				|  |  |              "<when test='ipAddress!=null'>",
 | 
	
		
			
				|  |  |              ",ip_address=#{ipAddress}",
 | 
	
		
			
				|  |  |              "</when>",
 |