Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
proyecto-estandar
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Israel Gutierrez Salazar
proyecto-estandar
Commits
f26f65ff
Commit
f26f65ff
authored
Jan 09, 2018
by
Alonso Moreno Postigo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] PersonaSqlserverDAO - ResponseHelper
parent
d03d3150
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
87 deletions
+62
-87
PersonaSqlserverDAO.java
src/java/demojsoncrud/sqlserverdao/PersonaSqlserverDAO.java
+59
-65
ResponseHelper.java
src/java/demojsoncrud/utils/ResponseHelper.java
+0
-19
persona.js
web/js/pages/persona.js
+3
-3
No files found.
src/java/demojsoncrud/sqlserverdao/PersonaSqlserverDAO.java
View file @
f26f65ff
This diff is collapsed.
Click to expand it.
src/java/demojsoncrud/utils/ResponseHelper.java
View file @
f26f65ff
...
@@ -13,9 +13,6 @@ import java.io.Serializable;
...
@@ -13,9 +13,6 @@ import java.io.Serializable;
*/
*/
public
class
ResponseHelper
implements
Serializable
{
public
class
ResponseHelper
implements
Serializable
{
private
String
resultado
;
private
String
mensaje
;
private
Object
data
;
private
Object
data
;
private
boolean
status
;
private
boolean
status
;
private
String
message
;
private
String
message
;
...
@@ -40,22 +37,6 @@ public class ResponseHelper implements Serializable {
...
@@ -40,22 +37,6 @@ public class ResponseHelper implements Serializable {
this
.
message
=
message
;
this
.
message
=
message
;
}
}
public
String
getResultado
()
{
return
resultado
;
}
public
void
setResultado
(
String
resultado
)
{
this
.
resultado
=
resultado
;
}
public
String
getMensaje
()
{
return
mensaje
;
}
public
void
setMensaje
(
String
mensaje
)
{
this
.
mensaje
=
mensaje
;
}
public
Object
getData
()
{
public
Object
getData
()
{
return
data
;
return
data
;
}
}
...
...
web/js/pages/persona.js
View file @
f26f65ff
...
@@ -17,7 +17,7 @@ $(document).ready(function () {
...
@@ -17,7 +17,7 @@ $(document).ready(function () {
$
(
'#btn_cerar_registrar_persona'
).
on
(
'click'
,
function
()
{
$
(
'#btn_cerar_registrar_persona'
).
on
(
'click'
,
function
()
{
$
(
"form_registrar_persona"
).
validate
().
resetForm
();
$
(
"form_registrar_persona"
).
validate
().
resetForm
();
});
});
filtrarPersona
();
filtrarPersona
();
});
});
...
@@ -240,7 +240,7 @@ function listarPersona() {
...
@@ -240,7 +240,7 @@ function listarPersona() {
var
json
=
{
var
json
=
{
codigo
:
data_row
.
codigo
codigo
:
data_row
.
codigo
};
};
console
.
log
(
data_row
.
codigo
);
swal
({
swal
({
title
:
"¿Estás seguro?"
,
title
:
"¿Estás seguro?"
,
text
:
"¿Desea desactivar a "
+
data_row
.
apellidos
+
", "
+
data_row
.
nombres
+
" ?"
,
text
:
"¿Desea desactivar a "
+
data_row
.
apellidos
+
", "
+
data_row
.
nombres
+
" ?"
,
...
@@ -277,7 +277,7 @@ function listarPersona() {
...
@@ -277,7 +277,7 @@ function listarPersona() {
var
json
=
{
var
json
=
{
codigo
:
data_row
.
codigo
codigo
:
data_row
.
codigo
};
};
console
.
log
(
data_row
.
codigo
);
swal
({
swal
({
title
:
"¿Estás seguro?"
,
title
:
"¿Estás seguro?"
,
text
:
"¿Desea activar a "
+
data_row
.
apellidos
+
", "
+
data_row
.
nombres
+
" ?"
,
text
:
"¿Desea activar a "
+
data_row
.
apellidos
+
", "
+
data_row
.
nombres
+
" ?"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment