Merge remote-tracking branch 'origin/master'
| | |
| | | import FormTemplate from "./FormTemplate"; |
| | | import ResembleQuery from "./ResembleQuery"; |
| | | export default { |
| | | name: "FormTemplateDialog", |
| | | name: "FormTemplateDialog", |
| | | components: { ResembleQuery, FormTemplate }, |
| | | props: { |
| | | visible: { |
| | |
| | | sortable:true, |
| | | // width: 150, |
| | | formatter: function (row, column) { |
| | | if (row.sendType === 'Released') { |
| | | if (row.sendType === 'Enabled') { |
| | | return '发布'; |
| | | } else if (row.sendType === 'TakeBack') { |
| | | return '回收'; |
| | |
| | | width: 150 |
| | | }, |
| | | { |
| | | label: '数据情况', |
| | | label: '推送类型', |
| | | prop: 'sendType', |
| | | sortable:true, |
| | | width: 100, |
| | | formatter: function (row, column) { |
| | | if (row.sendType === 'Released') { |
| | | if (row.sendType === 'Enabled') { |
| | | return '发布'; |
| | | } else if (row.sendType === 'TakeBack') { |
| | | return '回收'; |
| | |
| | | codeclassify0.tenant_id = #{tenantId} |
| | | </if> |
| | | </where> |
| | | order by id asc |
| | | order by lastmodifytime asc |
| | | </select> |
| | | |
| | | <select id="selectAllLevelChildHasPath" resultMap="plCodeClassifyResultMap"> |
| | |
| | | <if test="tenantId != null and tenantId != ''"> |
| | | and codeclassify0.tenant_id = #{tenantId} |
| | | </if> |
| | | order by id asc |
| | | order by lastmodifytime desc |
| | | </select> |
| | | |
| | | <select id="selectClassifyByKeyAndReseRel" resultMap="plCodeClassifyResultMap"> |
| | |
| | | * @param columnName 列名称 |
| | | * @return 受影响的行数 |
| | | */ |
| | | @Update("alter table ${tableName} DROP COLUMN ${columnName}") |
| | | @Update("alter table ${tableName} DROP COLUMN \"${columnName}\"") |
| | | @Override |
| | | int dropTableColumn(@Param("tableName")String tableName, @Param("columnName")String columnName); |
| | | |
| | |
| | | * @return 受影响的行数 |
| | | */ |
| | | public int dropTableColumn(String tableName,String columnName){ |
| | | return mapper.dropTableColumn(tableName,columnName); |
| | | return mapper.dropTableColumn(tableName,columnName.toUpperCase()); |
| | | } |
| | | } |