@Path("/accepttask")
@GET
@Produces({MediaType.APPLICATION_JSON})
@Consumes({MediaType.APPLICATION_JSON})
public Response queryAcceptTask(@QueryParam("deviceDn") String deviceDn)
iemp.external.get({
url: '/secm/private/syndevice/accepttask',
async: false,
dataType: 'json',
cache: false,
data: {
'deviceDn': $scope.dn,
'tenantId': $scope.tenantId
},
success:function(data)
{}
});
@POST
@Path("/queryAllList")
@Produces({MediaType.APPLICATION_JSON})
@Consumes({MediaType.APPLICATION_JSON})
public Response queryAllList(@TypeHint(QueryConditionWrapper.class) @Context HttpServletRequest request, QueryConditionWrapper input) throws BaseException
var condition = {
name: "",
detail: "",
sort: "",
begin: currentPage,
limit: displayLength,
tenantId: $scope.currentUser
};
// iemp.loading();
iemp.external.post({
url: '/secm/private/upgrademgr/filemgr/queryAllList',
async: true,
dataType: "json",
data: JSON.stringify(condition),
success: function (data)
{}
});