Comments (2)
J'ai remarqué dans quelques tables que le champ ImportedOn est à "000-01-01 00:00:00" (ce qui est la date "erreur" de MySql") :
Puis on peut voir dans la configuration des tables que c'est la valeur par défaut :
Il faut s'assurer qu'il n'y ait pas de valeur par défaut ou qu'elle soit nulle pour ne pas avoir de 0000-01-01 en BD.
from survip-webapi.
Le problème est que la date d'importation n'est pas "nullable". Il faut qu'elle soit "nullable" parce que même si un entity est importable, ça ne veut pas dire qu'il sera importé.
public abstract class BaseImportedModel : BaseModel
{
public string IdExtern { get; set;}
public DateTime ImportedOn { get; set;}
public bool HasBeenModified { get; set;}
}
from survip-webapi.
Related Issues (20)
- Manage locationType for Coordinates in webAPI HOT 4
- Create a OData query to find children of a building
- Créer les nugets pour le DataLayer et l'authentification
- Gérer l'année du code d'utilisation dans l'API
- Wrong Model used for building Export to CAD
- Add Fields for Prevention to Cad export
- Enlever le tri par ssi dans la gestion des permissions HOT 1
- Add Child building post in webapi HOT 1
- Problem with inspection completion HOT 3
- Picture linked problem on inspection approval HOT 2
- Inspection approval: Can't add more than one picture to anomalies HOT 1
- Inspection approval: link with imported data is lost on approval
- created_on are not return within api for prevention export
- Filter prevention export list by building and not by inspection
- Site plan picture is not updated from the mobile on complete inspection
- Site plan picture is not updated from the mobile on complete inspection HOT 1
- Incorrect and missing fields for hazardous materials when generating reports
- Ajouter une validation de suppression de question si celle-ci est paramètrée comme question suivante
- Requête des inspections complétées prêtes à exportées incorrecte HOT 1
- Add cause.security.management to the api
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from survip-webapi.