Commit d1c79ecf authored by KeYong's avatar KeYong

更新代码

parent 503431e2
...@@ -203,6 +203,7 @@ public class InputItem extends BasicEntity { ...@@ -203,6 +203,7 @@ public class InputItem extends BasicEntity {
/** /**
* 适用检查类别 * 适用检查类别
*/ */
@Lob
@Column(name="item_type_classify") @Column(name="item_type_classify")
private String itemTypeClassify; private String itemTypeClassify;
...@@ -216,13 +217,13 @@ public class InputItem extends BasicEntity { ...@@ -216,13 +217,13 @@ public class InputItem extends BasicEntity {
* 检查项启用 * 检查项启用
*/ */
@Column(name="item_start") @Column(name="item_start")
private String itemStart; private Integer itemStart;
public String getItemStart() { public Integer getItemStart() {
return itemStart; return itemStart;
} }
public void setItemStart(String itemStart) { public void setItemStart(Integer itemStart) {
this.itemStart = itemStart; this.itemStart = itemStart;
} }
......
...@@ -93,7 +93,7 @@ public class InputItemController extends AbstractBaseController { ...@@ -93,7 +93,7 @@ public class InputItemController extends AbstractBaseController {
BeanUtils.copyProperties(param, inputItem); BeanUtils.copyProperties(param, inputItem);
inputItem.setOrgCode(loginOrgCode); inputItem.setOrgCode(loginOrgCode);
inputItem.setCreateBy(user.getUserId()); inputItem.setCreateBy(user.getUserId());
inputItem.setItemStart("0"); inputItem.setItemStart(0);
inputItemService.addNewInputItem(inputItem); inputItemService.addNewInputItem(inputItem);
return CommonResponseUtil.success(); return CommonResponseUtil.success();
} catch (Exception e) { } catch (Exception e) {
......
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
<if test="testRequirement != null ">test_requirement=#{testRequirement},</if> <if test="testRequirement != null ">test_requirement=#{testRequirement},</if>
<if test="inputClassify != null ">input_classify=#{inputClassify},</if> <if test="inputClassify != null ">input_classify=#{inputClassify},</if>
<if test="unit != null ">unit=#{unit},</if> <if test="unit != null ">unit=#{unit},</if>
<if test="checkType != null ">check_type=#{checkType},</if>
<if test="itemParent != null ">item_parent=#{itemParent},</if>
<if test="itemClassify != null ">item_classify=#{itemClassify},</if>
<if test="itemTypeClassify != null ">item_type_classify=#{itemTypeClassify},</if>
<if test="itemLevel != null ">item_level=#{itemLevel},</if>
</trim> </trim>
WHERE id=#{id} WHERE id=#{id}
</update> </update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment