Przeglądaj źródła

空调加时订单列表查询 返回值新增是否关闭修改功能字段

xiachuang 1 rok temu
rodzic
commit
f6062aa78b

+ 7 - 11
src/main/java/com/palmnest/dao/airconditioner/impl/ConditionerAddTimeDaoImpl.java

@@ -1,19 +1,15 @@
 package com.palmnest.dao.airconditioner.impl;
 
-import java.util.List;
-import java.util.Map;
-
-import com.palmnest.application.core.util.StringUtil;
-import org.apache.commons.lang3.StringUtils;
-import org.apache.log4j.Logger;
-import org.springframework.jdbc.core.JdbcTemplate;
-import org.springframework.stereotype.Repository;
-
-import com.palmnest.application.CodeConstants;
 import com.palmnest.application.bean.Page;
 import com.palmnest.dao.airconditioner.ConditionerAddTimeDao;
 import com.palmnest.dao.hibernate.GenericDaoHibernate;
 import com.palmnest.model.airconditioner.AirConditionerAddTime;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+import java.util.Map;
 
 
 @Repository("conditionerAddTimeDao")
@@ -31,7 +27,7 @@ public class ConditionerAddTimeDaoImpl extends GenericDaoHibernate<AirConditione
 		LOG.info("ConditionerAddTimeDaoImpl findPageBy======");
 
 		StringBuilder sql = new StringBuilder("select").append("\n");
-		sql.append("bill.type,org.name orgName,bill.roleId,permConfig.name auditRoleName,bill.sort,bill.id billId,bill.code code,vir.name virtualName,bill.roomNames,bill.applyArea,date_format(bill.create_time, '%Y-%m-%d %H:%i') applyTime,bill.useDisplayTime,").append("\n");
+		sql.append("bill.type,org.name orgName,bill.roleId,permConfig.name auditRoleName,bill.sort,bill.id billId,bill.code code,vir.name virtualName,bill.roomNames,bill.applyArea,date_format(bill.create_time, '%Y-%m-%d %H:%i') applyTime,bill.useDisplayTime,bill.modification_disabled modificationDisabled").append("\n");
 		sql.append("useLengthTime,bill.priceDisplay,bill.freeTotal,bill.apply_user applyUser,bill.apply_tel applyTel,").append("\n");
 		sql.append("bill.billSource billSource,bill.status billStatus,bill.switchUser,bill.switchTel ").append("\n");
 		sql.append("from tb_airconditioner_addtime bill").append("\n");