瀏覽代碼

修改company的添加sql。

zhengqiang 5 年之前
父節點
當前提交
f3c4833d44

+ 2 - 2
picc-common/src/main/java/com/jpsoft/picc/modules/common/utils/SignUtil.java

@@ -94,10 +94,10 @@ public class SignUtil {
 
 
         //2e5a8d2ddab490d6cc0ecbc228d8482a
         //2e5a8d2ddab490d6cc0ecbc228d8482a
         //微信支付 sign=2e5a8d2ddab490d6cc0ecbc228d8482a&orderNo=20200312220723013&payType=2&code=0008&payTime=1584022071
         //微信支付 sign=2e5a8d2ddab490d6cc0ecbc228d8482a&orderNo=20200312220723013&payType=2&code=0008&payTime=1584022071
-        signMap.put("orderNo","20200317141856878");
+        signMap.put("orderNo","20200324090530361");
         signMap.put("payType","2");
         signMap.put("payType","2");
         signMap.put("code","0008");
         signMap.put("code","0008");
-        signMap.put("payTime","1584425936");
+        signMap.put("payTime","1585011930");
         //signMap.put("userMoney","1000");
         //signMap.put("userMoney","1000");
 
 
         String md5_sign = "";
         String md5_sign = "";

+ 2 - 2
picc-common/src/main/resources/mapper/base/Company.xml

@@ -44,7 +44,7 @@
         <![CDATA[
         <![CDATA[
 		insert into base_company
 		insert into base_company
 	    (
 	    (
-			id_,name_,legal_name,legal_phone,legal_card,legal_card_file
+			id_,name_,legal_name,legal_phone,legal_card,legal_card_file,
 			uscc_code,uscc_files,type_,business_nature,business_scope,
 			uscc_code,uscc_files,type_,business_nature,business_scope,
 			industry_type,employees_number,insured_number,person_,tel_,mail_,postal_,
 			industry_type,employees_number,insured_number,person_,tel_,mail_,postal_,
 			address_,company_stamp_file,promoter_,remark_,buy_id,status_,
 			address_,company_stamp_file,promoter_,remark_,buy_id,status_,
@@ -175,7 +175,7 @@
                 del_flag=#{delFlag,jdbcType= NUMERIC },
                 del_flag=#{delFlag,jdbcType= NUMERIC },
             </if>
             </if>
             <if test="promoter!=null">
             <if test="promoter!=null">
-                promoter_bind_time=#{promoterBindTime,jdbcType=VARCHAR},
+                promoter_bind_time=#{promoterBindTime,jdbcType=TIMESTAMP},
             </if>
             </if>
         </set>
         </set>
         where id_=#{id}
         where id_=#{id}

+ 1 - 0
picc-enterprise-server/src/main/java/com/jpsoft/picc/modules/auth/controller/CompanyController.java

@@ -118,6 +118,7 @@ public class CompanyController {
             if ("null".equals(companyInfoDTO.getId())){
             if ("null".equals(companyInfoDTO.getId())){
                 companyInfoDTO.setId(null);
                 companyInfoDTO.setId(null);
             }
             }
+
             else if(StringUtils.isNotEmpty(companyInfoDTO.getId())){
             else if(StringUtils.isNotEmpty(companyInfoDTO.getId())){
                 boolean existed = companyService.exist(companyInfoDTO.getId());
                 boolean existed = companyService.exist(companyInfoDTO.getId());