|
@@ -1981,9 +1981,13 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
for (String k : colsList) {
|
|
|
if (p2.containsKey(k)) {
|
|
|
Object value = reviseValue(p2, k, origin.get(k));
|
|
|
- if (value != null && value.toString().contains("_^_")) {
|
|
|
- value = "'" + value + "'";
|
|
|
- target.set(target.indexOf(k), value.toString());
|
|
|
+ if (value != null ) {
|
|
|
+ if( value.toString().contains("_^_")) {
|
|
|
+ value = "'" + value + "'";
|
|
|
+ target.set(target.indexOf(k), value.toString());
|
|
|
+ }else{
|
|
|
+ target.set(target.indexOf(k), StringPool.NULL);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|