|
|
@@ -91,13 +91,13 @@ public class AgentTitem extends Controller {
|
|
|
addtitem.setValue("FITEMNO",where.getString("fitemno"),11l);
|
|
|
addtitem.setValue("fitemname",where.getString("fitemname"),11l);
|
|
|
addtitem.setValue("fisused",where.getBoolean("fisused"),11l);
|
|
|
- if(where.containsKey("fmodel")&&StringUtils.isBlank("fmodel")){
|
|
|
+ if(where.containsKey("fmodel")&&!StringUtils.isBlank("fmodel")){
|
|
|
addtitem.setValue("fmodel",where.getString("fmodel"),11l);
|
|
|
}
|
|
|
- if(where.containsKey("fspec")&&StringUtils.isBlank("fspec")){
|
|
|
+ if(where.containsKey("fspec")&&!StringUtils.isBlank("fspec")){
|
|
|
addtitem.setValue("fspec",where.getString("fspec"),11l);
|
|
|
}
|
|
|
- if(where.containsKey("fnotes")&&StringUtils.isBlank("fnotes")){
|
|
|
+ if(where.containsKey("fnotes")&&!StringUtils.isBlank("fnotes")){
|
|
|
addtitem.setValue("fnotes",where.getString("fnotes"),11l);
|
|
|
}
|
|
|
long uniqueIDValue = addtitem.getUniqueIDValue();
|